n = int(input()) res = 'abcdefghijklmnopqrstuvwxyz' * (n + 1) s = input() result = '' for i in s: j = res.index(i) result += res[j + n] print(result)