puts "0 0" $stdout.flush d = gets.to_i puts "#{d} 0" $stdout.flush d_ = gets.to_i puts "#{d - d_/2} #{d_/2}" $stdout.flush gets exit(0)