0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-18 04:51:59 +00:00
OI-codes/AtCoder/ABC244/A/A.cpp

17 lines
239 B
C++

#include <iostream>
#include <string>
using std::cin;
using std::cout;
const char endl = '\n';
int n;
std::string s;
int main() {
std::ios::sync_with_stdio(false);
cin >> n >> s;
cout << *s.rbegin() << endl;
return 0;
}