{"raw_statement":[{"iden":"problem statement","content":"Takahashi, Nakahashi and Hikuhashi have integers $A$, $B$ and $C$, respectively. After repeating the following operation $K$ times, find the integer Takahashi will get minus the integer Nakahashi will get:\n\n*   Each of them simultaneously calculate the sum of the integers that the other two people have, then replace his own integer with the result.\n\nHowever, if the absolute value of the answer exceeds $10^{18}$, print `Unfair` instead."},{"iden":"constraints","content":"*   $1 \\leq A,B,C \\leq 10^9$\n*   $0 \\leq K \\leq 10^{18}$\n*   All values in input are integers."},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$A$ $B$ $C$ $K$"},{"iden":"sample input 1","content":"1 2 3 1"},{"iden":"sample output 1","content":"1\n\nAfter one operation, Takahashi, Nakahashi and Hikuhashi have $5$, $4$ and $3$, respectively. We should print $5-4=1$."},{"iden":"sample input 2","content":"2 3 2 0"},{"iden":"sample output 2","content":"\\-1"},{"iden":"sample input 3","content":"1000000000 1000000000 1000000000 1000000000000000000"},{"iden":"sample output 3","content":"0"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}