#include <iostream>
using namespace std;
int offset = 'a';
int main() {
int x;string str;cin>>x>>str;
for(char c:str){
printf("%c",(c-offset+x)%26+offset);
}
}

#include <iostream>
using namespace std;
int offset = 'a';
int main() {
int x;string str;cin>>x>>str;
for(char c:str){
printf("%c",(c-offset+x)%26+offset);
}
}