1860: 【CSP字符】扫描识别▅

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:2 Solved:2

Description

“扫描识别”你知道是怎么回事吧?它的意思就是:先用扫描仪把纸上的文字扫描成一个图片,再用识别软件把那个图片中的文字识别出来,最后生成一个文本文件。这对于需要把大量的纸稿录入成电子文档的人来说,当然是非常方便的。 以现有的技术,扫描效果是比较理想的,但识别效果还不十分另人满意,经常会出现错误,尤其是当两个字形状特别接近的时候,而且,这种错误是很难用眼睛看出来的。

我们的纸稿上有一个数字串,识别之后得到的字符串保存在输入文件中,这个串可能有识别错误。已知,可能出现的错误有如下几种:

1、把数字 lns="http://www.w3.org/1998/Math/MathML">0 错误地识别为大写字母 lns="http://www.w3.org/1998/Math/MathML">O ;

2、把数字 lns="http://www.w3.org/1998/Math/MathML">1 错误地识别为小写字母 lns="http://www.w3.org/1998/Math/MathML">l( lns="http://www.w3.org/1998/Math/MathML">L 的小写字母);

3、把数字 lns="http://www.w3.org/1998/Math/MathML">2 错误地识别为大写字母 lns="http://www.w3.org/1998/Math/MathML">Z ;

4、把数字 lns="http://www.w3.org/1998/Math/MathML">5 错误地识别为大写字母 lns="http://www.w3.org/1998/Math/MathML">S ;

5、把数字 lns="http://www.w3.org/1998/Math/MathML">6 错误地识别为小写字母 lns="http://www.w3.org/1998/Math/MathML">b ;

6、把数字 lns="http://www.w3.org/1998/Math/MathML">8 错误地识别为大写字母 lns="http://www.w3.org/1998/Math/MathML">B ;

7、把数字 lns="http://www.w3.org/1998/Math/MathML">9 错误地识别为小写字母 lns="http://www.w3.org/1998/Math/MathML">q 。

你的改正方案是:如果字符串中出现了上述字母,请替换为原来的数字。最后把改正之后的数字串输出。

Input

只有一个字符串,表示识别后得到的字符串。串的长度不超过 lns="http://www.w3.org/1998/Math/MathML">100 

Output

只有一个数字串,表示改正后的数字串。

Sample Input Copy

lBBO4S37Z77

Sample Output Copy

18804537277