#P241. 【例40.2】 蜗牛字母

【例40.2】 蜗牛字母

Description

On the road to the mysterious kingdom, the snail encounters a challenge. It meets a letter monster, and can only defeat it by finding its weakness.
The weakness of an uppercase letter monster is the ASCII code value of that letter. For example, the weakness of monster A is 65. The weakness of a lowercase letter monster is its corresponding uppercase letter. For example, the weakness of monster b is B.
Now the snail encounters a letter monster. Please help it find the monster's weakness.

Input Format

A single character, guaranteed to be either an uppercase or lowercase letter, representing a letter monster.

Output Format

Output a single line, which is either an integer or a character, representing the monster's weakness.

Sample

B
66