Boolean
Boolean-14
Boolean-15
Boolean-16
~/algor $ cat problems/kamida-ikkitasi-teng
At least two are equal
Easy
1000 ms
64 MB
15%
Three integers $A$, $B$ and $C$ are given. Check whether the statement is true: “at least two of the numbers $A$, $B$ and $C$ are equal”.
Input
One line with three integers: $A$, $B$ and $C$.
Output
One integer: $1$ if the statement is true, otherwise $0$.
Note
$-10^{9} \le A, B, C \le 10^{9}$
Examples
Input #1
1 2 3
Output #1
0
Input #2
1 1 2
Output #2
1