3 つの整数 A, B, C が与えられる. A, B, C はそれぞれ 1 または 2 である. 1 と 2 のうち,どちらが多くあるか.
Input
入力は以下の形式で標準入力から与えられる.
A B C
Output
1 と 2 のうち,個数が多い方を出力せよ.
Constraints
A, B, C はそれぞれ 1 または 2 である.
Example 1
Input
1 2 1
Output
1
Example 2
Input
2 2 2
Output
2
Discussion
Threads about this problem. Spoilers are collapsed; wrap hints in
||double bars||.No discussion yet. Start a thread if something here needs explaining.