STDIN.read.scan(/.(?=.)/){p$'>$&?1:0}