import reimport sys for inp in sys.stdin: outp = re.sub('([01])', lambda m: str(0 + int(not(int(m.group(1))))), inp) print(outp, end='')
f0r th0se 4b0ut t0 r0ck w3 s4lut3 y0u!!1!!!
f1r th1se 4b1ut t1 r1ck w3 s4lut3 y1u!!0!!!
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!