mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-12-27 06:51:59 +00:00
17 lines
239 B
C++
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;
|
||
|
}
|