SDE Path

ASCII Value of a Character

Easy

ASCII Value of a Character

Print the ASCII code of a single character.

Input format

A single line with one character C (a letter or digit).

Output format

Print the ASCII code of C as an integer.

Constraints

  • Values fit in a 64-bit signed integer
  • Trailing whitespace and a trailing newline are ignored by the judge

Read from stdin, write to stdout. Sample cases below show the exact format.

Sample cases

Example 1
Input
A
Expected output
65
Example 2
Input
z
Expected output
122