atcoder#ABC244A. [ABC244A] Last Letter
[ABC244A] Last Letter
Score : points
Problem Statement
Given a string of length consisting of lowercase English alphabets, print the last character of .
Constraints
- is an integer.
- is a string of length consisting of lowercase English alphabets.
Input
Input is given from Standard Input in the following format:
Output
Print the last character of .
5
abcde
e
The last character of abcde
is e
, so e
should be printed.
1
a
a