#include #include #include using namespace std; #define ll long long int #define ld long long double ll mod=1e9+7; bool ispalindrome(ll ar[],ll size) { for(ll i=0;i>n>>q; char str[n+5]; cin>>str; for(ll i=0;i>item; if(item==2) { ll st,end; cin>>st>>end; cout<>st>>end>>t; shift(str,st,end,t); } } return 0; }