// [NWERC'18] Auto Key, by Jan Kuipers #include #include using namespace std; int main() { int n,m; string k,s; cin >> n >> m >> k >> s; for (int i=0; i=0; j-=n) { char tmp = 'a' + (26+s[j]-next)%26; s[j] = next; next = tmp; } } cout << s << endl; return 0; }