Statement
Shirogane and Shinomiya are playing Jenga.
Every block is a uniform rectangular cuboid of size and mass . Each layer consists of parallel blocks placed side by side with no gaps. The block directions of two adjacent layers are perpendicular. The bottom layer is layer , and the topmost layer is layer .
The players alternate turns. On each turn, a player chooses one remaining block outside the topmost layer and removes it. Removed blocks are not placed back on the tower.
In this problem, whether the tower collapses is defined as follows. For every (), consider the following two objects.
- : the vertical projection onto the plane of the top face of layer of the center of mass of all remaining blocks in layers .
The tower collapses if, for some , is empty or is neither inside nor on the boundary of . Otherwise, the tower does not collapse.
If removing a block makes the tower collapse, the player who removed it loses immediately. Therefore, a player also loses when there is no block that can be removed without making the tower collapse. Blocks in the topmost layer cannot be removed.
Given the height of the tower, determine the winner when both players play optimally. Shirogane moves first.
Input
The input is given from Standard Input in the following format:
Output
For each test case, print Shirogane if Shirogane wins, and print Shinomiya if Shinomiya wins.
Constraints
- .
- .