0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-27 22:36:28 +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;
}