n=int(input()) str1=input().strip() str2=[chr((ord(char)-ord('a')+n)%26+ord('a')) for char in str1] print(''.join(str2))