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