F=->x,y{puts "#{x} #{y}";$>.flush;gets.to_i} a,b=F[0,0],F[0,M=1000000000] puts "#{x=(a-(M-b))/2} #{a-x}"