0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-05 11:18:47 +00:00
OI-codes/AtCoder/ABC244/A/A.cpp

17 lines
239 B
C++
Raw Normal View History

#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;
}