def eat(taka, ao, k)
  if (taka-k).negative?
    b = (taka-k).abs
    return [0, ao-b] if (ao-b).positive?
    return [0, 0]
  else
    return [taka-k, ao]
  end
end

a, b, k = gets.chop.split.map(&:to_i)
print eat(a, b, k).join('')