Score : $300$ points
Takahashi, Aoki and Snuke love cookies. They have $A$, $B$ and $C$ cookies, respectively. Now, they will exchange those cookies by repeating the action below:
This action will be repeated until there is a person with odd number of cookies in hand.
How many times will they repeat this action? Note that the answer may not be finite.
Input is given from Standard Input in the following format:
$A$ $B$ $C$
Print the number of times the action will be performed by the three people, if this number is finite.
If it is infinite, print
4 12 20
Initially, Takahashi, Aoki and Snuke have $4$, $12$ and $20$ cookies. Then,
Now, Takahashi and Snuke have odd number of cookies, and therefore the answer is $3$.
14 14 14
454 414 444