def hiku(x, k)
  xx, kk = x, k
  if x > 0 && k > 0
    if x > k
      xx = x - k
      kk = 0
    else
      xx = 0
      kk = k - x
    end
  end
  [xx, kk]
end

a, b, k = gets.split.map(&:to_i)

a, k = hiku(a, k)
b, k = hiku(b, k)

puts "#{a} #{b}"