100 atcoder#ABC170A. [ABC170A] Five Variables
[ABC170A] Five Variables
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 .
0 2 3 4 5
1
In this case, Snuke assigned to , so we should print .
1 2 0 4 5
3