Sashko accidentally scattered identical regular tetrahedrons (each having faces numbered , , , ) onto the floor. He then invented a game for two players: on each turn, a player may flip any tetrahedron so that a face with a larger number appears on top. The player who cannot make a move loses. Sashko usually beats his friends. If you make the first move, can you guarantee a win?
A single line without spaces contains digits, each representing the number on the visible face of a tetrahedron. N < 10000.
Print if you have a guaranteed winning strategy, otherwise print .
Example 1