Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- n = int(input())
- a =[]
- i = 0
- while len(c := input().split()) != 0:
- if i < n:
- a.append(max(c))
- else:
- continue
- i += 1
- a.sort(reverse=True)
- res = ";".join([str(x) for x in a])
- print(res)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement