#installed games games = [ 'Soccer', 'Tic Tac Toe', 'Snake', 'Puzzle', 'Rally'] #taking player's choice as a number input choice = int(input()) if choice <= len(games) - 1 and choice >= 0: print(games[choice]) else: print('Index Error')