bounslay

Untitled

May 17th, 2023
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. n = int(input())
  2. lst = []
  3. for _ in range(n):
  4.     new_num = input()
  5.     lst.append(int(new_num))
  6.  
  7. print(max(set(lst), key=lst.count))
Add Comment
Please, Sign In to add comment