puts "0 0" $>.flush s=[0,gets.to_i] puts "100000 0" $>.flush e=[100000,gets.to_i] while s[0]+1.flush if s[1]