userScore = int(input("Enter your score: ")) highscoresFile = open("highscores.txt", "r") line1 = highscoresFile.readline() line2 = highscoresFile.readline() line3 = highscoresFile.readline() highscoresFile.close() index = line1.find(":") score1 = int(line1[index+2:]) print(score1) index = line2.find(":") score2 = int(line2[index+2:]) print(score2) index = line3.find(":") score3 = int(line3[index+2:]) print(score3) if userScore > score1: print("You are first place") else: print("You are not first place")