EBCDIC

Time Limit: 2000ms
Memory Limit: 102400KB
This problem will be judged on HDU. Original ID: 4690
64-bit integer IO format: %I64d      Java class name: Main

Description

A mad scientist found an ancient message from an obsolete IBN System/360 mainframe. He believes that this message contains some very important secret about the Stein's Windows Project. The IBN System/360 mainframe uses Extended Binary Coded Decimal Interchange Code (EBCDIC). But his Artificial Intelligence Personal Computer (AIPC) only supports American Standard Code for Information Interchange (ASCII). To read the message, the mad scientist ask you, his assistant, to convert it from EBCDIC to ASCII.
Here is the EBCDIC table.
      
Here is the ASCII table.

Input

The input of this problem is a line of uppercase hexadecimal string of even length. Every two hexadecimal digits stands for a character in EBCDIC, for example, "88" stands for 'h'.

Output

Convert the input from EBCDIC to ASCII, and output it in the same format as the input.

Sample Input

C59340D7A2A840C3969587999696

Sample Output

456C2050737920436F6E67726F6F

Source

Language: 
Theme: 
Share Code? 

Powered by NB231 | Current Style: .