a, b, k = map(int, input().split())
if a == k:
    print(0, b)
elif a > k:
    print(a - k, b)
elif a < k:
    c = b - (k - a)
    if c >= 0:
        print(0, c)
    else:
        print(0, 0)

43f5935faeb14a12599f17739f7146b002861947
<mask token>

<mask token>
if a == k:
    print(0, b)
elif a > k:
    print(a - k, b)
elif a < k:
    c = b - (k - a)
    if c >= 0:
        print(0, c)
    else:
        print(0, 0)

a, b, k = map(int, input().split())
if a == k:
    print(0, b)
elif a > k:
    print(a - k, b)
elif a < k:
    c = b - (k - a)
    if c >= 0:
        print(0, c)
    else:
        print(0, 0)
