fun main (args : Array<String>) {
	val (a, b, k) = readLine()!!.split(" ")
	var list : MutableList<Long> = mutableListOf()
	var K : Long = k.toLong()
	val N : Long = 0
	list.add(a.toLong())
	list.add(b.toLong())
	if (k.toLong() >= (list[0] + list[1])) {
		return println("0 0")
	}
	if (list[0] >= K) {
		list[0] = list[0] - K
		return println("${list[0]} ${list[1]}")
	} else {
		K = K - list[0]
		list[0] = 0
	}
	if (list[1] >= K) {
		list[1] = list[1] - K
		return println("${list[0]} ${list[1]}")
	} else {
		println("0 0")
	}
}