///截取字符串 #include<bits/stdc++.h> using namespace std; int main(){ string s; int a; cin>>s>>a; s.erase(a,s.size()); cout<<s; return 0; }