while""do x,y,z=io.read():match"(.-)(.)(1*)$"print(x..1-y..z.rep(0,#z))end