#AT2109. A - Last Letter
A - Last Letter
当前没有测试数据。
A - Last Letter
Score : $100$ points
Problem Statement
Given a string $S$ of length $N$ consisting of lowercase English alphabets, print the last character of $S$.
Constraints
- $N$ is an integer.
- $1 ≤ N ≤ 1000$
- $S$ is a string of length $N$ consisting of lowercase English alphabets.
Input
Input is given from Standard Input in the following format:
Output
Print the last character of $S$.
5
abcde
e
The last character of $S = {}$abcde
is e
, so e
should be printed.
1
a
a