n=0 for c in input():n=n<<8|ord(c) while 1:print n;n^=2**n.bit_length()-n/n
'Inf'
4812390 3576217 618086 430489 93798 37273 28262 4505 3686 409 102 25 6 1 0
Traceback (most recent call last): File "prog.py", line 3, in <module> ZeroDivisionError: integer division or modulo by zero