s=sum(input())l=len(`s`)+8exec"s+=1098*int(''.join(`+(d>'1')`for d in str(s)));"*lprint s%10**l
11011011010110101110010001001, 111100010100101001001010010101
0
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!