The Captain's Room

  • + 0 comments

    from collections import Counter

    grp_size = int(input())

    room_nmbrs = Counter(input().split())

    caps_room = room_nmbrs.most_common()[-1]

    print(caps_room[0])