i=0 for c in"ABABABACADAGAJCQA`At":i+=1;print(2**i//i-ord(c)+65)