x,y=map(int,raw_input().split()) m=2**64-1 exec'x^=x<<23&m;x,y=y,x^y^x>>17^y>>26;print x+y&m;'*100