Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if __name__ == '__main__':
- reords = []
- for _ in range(int(input())):
- name = input()
- score = float(input())
- reords.append([name, score])
- mark = sorted(set(map(lambda x: x[1], reords)))[1]
- for n, m in sorted(filter(lambda x: x[1] == mark, reords)):
- print(n)
Advertisement
Add Comment
Please, Sign In to add comment