var ch:char;
n,s:longint;
begin
read(ch);readln(n);
s:=ord(ch)+n;
if s>122 then dec(s,26);
writeln(chr(s));
end.