ANSWER

u2022006 2024-07-13 14:58:26

#include <bits/stdc++.h> using namespace std;

int main() { string s; cin>>s; int n; cin>>n; cout<<s.substr(s.size()-n );