Option Explicit On
Option Strict On

Module Module1

    Sub Main()

        Dim tmp As String() = Split(Console.ReadLine(), " ")

        Dim A As Long = CLng(tmp(0))
        Dim B As Long = CLng(tmp(1))
        Dim K As Long = CLng(tmp(2))

        If A >= 1 Then
            If A <= K Then
                K -= A
                A = 0
            Else
                A -= K
                K = 0
            End If
        End If

        If B >= 1 Then
            If B <= K Then
                K -= B
                B = 0
            Else
                B -= K
                K = 0
            End If
        End If

        Console.WriteLine(A & " " & B)
        'Console.ReadLine()

    End Sub

End Module

