while true do
  a, b, c = gets.split.map(&:to_f)
  break if [a, b, c].inject(:+) == 0.0
  ok = false
  for p in 1..100 do
    break if ok
    for q in -100..100 do
      break if ok
      r = a / p
      s = c / q
      p, r = r, p if p < r
      q, s = s, q if p == r && q < s
      next if b != p * s + q * r
      ok = true
      printf "%d %d %d %d\n", p, q, r, s
    end
  end
  puts "Impossible" if !ok
end