← Back to List

18408번: 3 つの整数 (Three Integers) ↗

Solutions

Python 3
92 B | 92 chars
L=list(map(int,input().split()))
if L.count(1) > L.count(2):
    print(1)
else:
    print(2)