eolymp
bolt
Try our new interface for solving problems

Poker

Time limit 1 second
Memory limit 64 MiB

Given five integers. Among them:

  • If the same 5, then withdraw "Impossible", otherwise

  • If the same 4, then withdraw "Four of a Kind", otherwise

  • If the same 3 and 2, then withdraw "Full House", otherwise

  • If there are 5 consecutive, then withdraw "Straight", otherwise

  • If the same 3, then display "Three of a Kind", otherwise

  • If the same 2 and 2, then withdraw "Two Pairs", otherwise

  • If the same 2, then withdraw "One Pair", otherwise

  • Print "Nothing".

Input data

In the first row there are 5 numbers (from 1 to 13 inclusive) with a space.

Output data

We derive a line - the result of analysis.

Examples

Input example #1
1 3 9 3 2
Output example #1
One Pair