puts $<.chars.map{|c|c=c>='A'&&c=<'Z'?'1':'0'}.join