for a,b,_ in open(0,"rb"):print("%c%d"%(201-a,57-b))