eolymp
bolt
Try our new interface for solving problems
Problems

The last digit

published at 1/26/24, 7:47:04 pm

include <bits/stdc++.h>

using namespace std; int main() { string s; cin>>s; cout<<s.back(); }