def numberFine(): print("Please enter a number") number = int(input()) if (number % 2 != 0): print("Wierd") else: if number in range(2, 6): print("Not Weird") elif number in range(6, 21): print("Weird") else: print("Not Weird") def runnerUp(): par_list = [] print("Enter the number of participants") participants = int(input()) print("Enter the scores of participants") for each in range(participants): each_participants = int(input()) par_list.append(each_participants) sortedPar_list = sorted(par_list, reverse=True) print(sortedPar_list) runner_up_num = sortedPar_list[1] print(runner_up_num) if __name__ == '__main__': numberFine() runnerUp()