Problem2100-- ABC170A - Five Variables

2100: ABC170A - Five Variables

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

有五个变量,一开始这五个变量里的值分别是:1 2 3 4 5

随后,有人把其中的一个变量设置成了 0 

请你找出,是第几个变量被设置成了0,输出答案

例如:

输出:1 2 0 4 5

输出:3

因为显然,是第3个变量被设置成了0



Time Limit: 2 sec / Memory Limit: 1024 MB

Problem Statement
We have five variables x1,x2,x3,x4and x5.
The variable xi was initially assigned a value of i.
Snuke chose one of these variables and assigned it 0.
You are given the values of the five variables after this assignment.
Find out which variable Snuke assigned 0.

Input

Input is given from Standard Input in the following format:

x1 x2 x3 x4 x5

Output

If the variable Snuke assigned 0 was xi, print the integer i.

Sample Input Copy

0 2 3 4 5

Sample Output Copy

1

Source/Category