#include<iostream> #include<cstring> #include<cstdio> #include<cstdlib> using namespace std; int main() { char a[101]; cin>>a; int n; cin>>n; for(int i=0;i<=strlen(a);i++){ cout<<char(a[i]+n); } return 0; }