import std.stdio, std.conv, std.string, std.range, std.algorithm; void main() { auto S = readln.chomp; S.zip(1.iota(26+1).cycle).map!"((a[0]-a[1]+26-'A')%26+'A').to!char".writeln; }