K = gets.chomp.to_i
X, Y = *gets.chomp.split.map(&:to_i)
M = X.abs + Y.abs

if K % 2 == 0 && M % 2 == 1
  puts -1
  exit
end

if M == K
  puts 1
  puts [X, Y].join(' ')
  exit
end

n = 1
loop do
  n += 1
  break if M < K * n && K * n % 2 == M % 2
end
puts n