A. Saki
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output

 Friedchicken likes playing Majsoul and has strong luck. So it is easy for him to get Yakuman which is a difficult thing in Majsoul. He wants more friends to play Majsoul with him,so he try to teach you.

 First, you need to know the Tile's types.

 For example 1m means Ii man, 1z means Ton.

 There some special tiles hands called Yakuman, such as:

 Now, Friedchicken wants to test your Majsoul's level.He will given you some Yakuman's name, you should print out the tiles from left to right according to the image above.

Input

  A string represents Yakuman's name.

Output

  Output one line represent the tiles, each tile is separated by a space

Examples
Input
Blessing of Heaven
Output
1m 2m 3m 4p 4p 4p 5s 6s 7s 1z 1z 1z 2z 2z
Input
Blessing of Earth
Output
1m 2m 3m 4p 4p 4p 5s 6s 7s 1z 1z 1z 2z 2z