

Time Limit: 2 sec / Memory Limit: 1024 MB
配点 : 点
問題文
つの変数 があります。
最初、変数 には整数 が代入されていました。
すぬけくんは、これらの変数の中から つを選んで、その変数に を代入する操作を行いました。
すぬけくんがこの操作を行ったあとの つの変数の値が与えられます。
すぬけくんが を代入した変数がどれであったかを答えてください。
制約
- 入力として与えられる の値は、すぬけくんが操作を行ったあとのものとしてありえるものである。
入力
入力は以下の形式で標準入力から与えられる。
出力
すぬけくんが を代入した変数が であるとき、整数 を出力せよ。
入力例 1Copy
0 2 3 4 5
出力例 1Copy
1
この場合、すぬけくんが を代入した変数は なので、 を出力します。
入力例 2Copy
1 2 0 4 5
出力例 2Copy
3
Score : points
Problem Statement
We have five variables and .
The variable was initially assigned a value of .
Snuke chose one of these variables and assigned it .
You are given the values of the five variables after this assignment.
Find out which variable Snuke assigned .
Constraints
- The values of and given as input are a possible outcome of the assignment by Snuke.
Input
Input is given from Standard Input in the following format:
Output
If the variable Snuke assigned was , print the integer .
Sample Input 1Copy
0 2 3 4 5
Sample Output 1Copy
1
In this case, Snuke assigned to , so we should print .
Sample Input 2Copy
1 2 0 4 5
Sample Output 2Copy
3