#!/usr/bin/ruby

sz = $stdin.gets.to_i
puts sz
puts "0 0"
STDOUT.flush

$stdin.each do |line|
	puts (-(line.split(' ')[0].to_i)).to_s + " " + (-(line.split(' ')[1].to_i)).to_s
	STDOUT.flush
end