-->
当前位置:首页 > 题库

PROGRAMMING:Jiugongge input method

Luz5年前 (2021-05-10)题库410
Suppose there is a nine palace input method, and the keyboard layout is as follows:
```
[ 1,.?! ] [ 2ABC ] [ 3DEF ]
[ 4GHI ] [ 5JKL ] [ 6MNO ]
[ 7PQRS ] [ 8TUV ] [ 9WXYZ ]
[0 empty]
```
Note: brackets' [] 'are only used to indicate keyboard separation, not input characters. In each bracket, the number character at the first place is the key of the keyboard. Press once to input the number character. If you press the same key several times, the input characters will rotate in turn. For example, if you press' 3 'twice, you will enter'd'; Press' 7 '5 times to enter's'; Press' 2 '6 times to enter' a '. The input combination of key '0' is' 0 'and' space ', that is, press' 0' twice to input space.
You need to give the text for a given key combination.
###Input format:
Input the key combination of several characters in a line (for example, '999' means press' 9 'three times). Space is used between the key combinations of each character. The last input method combination ends with a new line. The input data includes a key combination of at least one character, and the total length of the input does not exceed 500 characters.
###Output format:
Output the text corresponding to the key combination in one line.
###Input example:
```in
22 5555 22 666 00 88 888 7777 4444 666 44
```
###Output example:
```out
ALAN TURING
```






answer:If there is no answer, please comment