Recently Keikumusume started to play Riichi Mahjong. Despite the strange and complicated rules, the biggest problem is to quickly determine the state of the hand.

The game consists of multiple tiles. Each tile has a suit (letter *a*, *b* or *c*) and a number (from 1 to 9), a hand contains 14 randomly drawn tiles. The hand is considered *winning* if it contains 4 triples and one pair; it’s considered *ready* if one tile needs to be replaced for the hand to become winning. If the above-mentioned conditions are not met, the hand is considered *not ready*. It is also important to note that a tile used in a pair or a triple cannot be used for any other pair or triple.

A pair is 2 identical tiles, for example (1*a*, 1*a*).

There are two types of triples:

- Triplet — 3 identical tiles, for example (1
*a*, 1*a*, 1*a*) is a correct triplet, but (1*a*, 1*b*, 1*c*) is not.
- Sequence — 3 tiles with the same suit and consecutive numbers (forming a progression with step 1). For example (1
*a*, 2*a*, 3*a*) or (4*c*, 5*c*, 6*c*) are correct sequential triples; while (1*a*, 2*a*, 4*a*), (1*a*, 2*b*, 3*c*) or (1*c*, 3*c*, 5*c*) are not.

Make Keikumusume’s life easier by writing a program that will determine the state of the hand.

### Input

There is exactly one line with descriptions of 14 tiles, separated by spaces. Each tile is described with a pair of characters (a number from 1 to 9 and a suit *a*, *b* or *c*). It is guaranteed that the hand has no more than 4 tiles of each type (however, in the case of a ready hand, it is allowed to have 5 tiles of the same type after a replacement).

Please note that there is no line break between the 7-th and the 8-th tiles.

### Output

Output a single line — state of the given hand, described with one of the following words: “`Tsumo`

” (winning), “`Tenpai`

” (ready) or “`Noten`

” (not ready).

### Samples

input | output |
---|

1a 2a 3a 6a 7a 8a 5b
5b 5b 9c 8c 7c 1c 1c | Tsumo |

1a 2a 3a 6a 7a 8a 5b
5b 5b 9c 8c 7c 1c 1b | Tenpai |

### Notes

In the first test, we can make three sequential triples (1*a*, 2*a*, 3*a*), (6*a*, 7*a*, 8*a*), (7*c*, 8*c*, 9*c*), one triplet (5*b*, 5*b*, 5*b*) and a pair (1*c*, 1*c*). In total, we will get exactly 4 triples and one pair, so the hand is considered winning.

In the second example, for the hand to become winning, we need to replace a tile 1*c* with a tile 1*b* or vice versa, so the hand is considered ready.

**Problem Author: **Ivan Sychev