Олимпиадный тренинг

Задача 38925. Happy New Year!


Today is December 31 in some other world. Grandfather Kokovani has A tangerines, and Darena has B tangerines. Grandfather Kokovanya performs the following action K times:
  • If grandfather Kokovani has one or several tangerines, he gives one of his tangerines to Darena and she eats it.
  • Otherwise, if Darena has one or several tangerines, she gives one to her grandfather and he eats it.
  • If they don't both have a single tangerine, then neither of them eats anything.
How many tangerines will Kokovani and Daryona's grandfather have at the end of the game?

Input
The program receives three space-separated integers as input: A, B and (0 <= A, B, K <= 1012).

Imprint
Print 2 numbers on the screen - the number of tangerines that Kokovani and Darena's grandfather will have at the end of the game. 
 
Examples
# Input Output Explanation
1 2 3 3 0 2 Grandfather Kokovanya will do the following:
1) He has two tangerines, so he gives one to Darena and she eats it.
2) Now he has one tangerine left, and he will give it back to Daryon, who will eat it.
3) Now he has no tangerines left, but Darena has three of them, so grandfather Kokovanya eats one of them.
Thus, in the end, grandfather Kokovani will have 0 tangerines, and Darena will have 2.
2 500000000000 500000000000 1000000000000 0 0 Watch out for overflow!