A. Is your horseshoe on the other hoof?
time limit per test
2 seconds
memory limit per test
256 megabytes
input
standard input
output
standard output
Valera the Horse is going to the party with friends. He has been following the fashion trends for a while, and he knows that it is very popular to wear all horseshoes of different color. Valera has got four horseshoes left from the last year, but maybe some of them have the same color. In this case he needs to go to the store and buy some few more horseshoes, not to lose face in front of hi