nums = list(map(int, input().split())) count = {} for n in nums: count[n] = count.get(n, 0) + 1 mode = max(count, key=count.get) print(mode)
To embed this project on your website, copy the following code and paste it into your website's HTML: