Score : 200 points
In the beginning, Takahashi has A cookies, and Aoki has B cookies. They will perform the following operation alternately, starting from Takahashi:
Find the numbers of cookies Takahashi and Aoki respectively have after performing K operations in total.
Input is given from Standard Input in the following format:
A B K
Print the number of cookies Takahashi has, and the number of cookies Aoki has, in this order, after performing K operations in total.
5 4 2
5 3
The process will go as follows:
3 3 3
1 3
314159265 358979323 84
448759046 224379523