import string
sudo='105327008809050020070010503490100300010070906703290480060540809004001030021030704'
ans='145327698839654127672819543496185372218473956753296481367542819984761235521938764'
out_ans=[]
raw_flag=[]for i inrange(len(sudo)):if(sudo[i]=='0'):
out_ans.append(int(ans[i],10))for i inrange(40):for c in string.printable:
e=chr((ord(c)&0xF3|~ord(c)&0xC)-20)if e==str(out_ans[i]):
raw_flag.append(c)breakfor i inrange(20):
c=raw_flag[2*i]
raw_flag[2*i]=raw_flag[2*i+1]
raw_flag[2*i+1]=c
for i inrange(20):
c=raw_flag[20+i]
raw_flag[20+i]=raw_flag[i]
raw_flag[i]=c
print'flag{'+''.join(raw_flag)+"}"