Sticks

No attempts yetTime limit1sMemory limit128 MB

Problem

Bajtuś found 3 sticks in the forest. He now wants to know whether he can build a right triangle or an equilateral triangle out of them. Bajtuś cannot break the sticks; he may only use each stick whole.

Input

The first line contains three integers aa, bb, cc (1a,b,c10001 \le a, b, c \le 1000), the lengths of the first, second, and third stick respectively.

Output

Print a single integer: 00 if Bajtuś can build neither a right triangle nor an equilateral triangle, 11 if he can build only a right triangle, and 22 if he can build only an equilateral triangle.