#P48. 【例10.2】分钱游戏

【例10.2】分钱游戏

Description

Three people, A, B, and C, have a total of xx yuan. First, A distributes money to B and C, giving each the same amount they already have. Then, B distributes money to A and C in the same way. Finally, C distributes money to A and B in the same way. After these three distributions, each person has the same amount of money. Determine the original amount of money each person had.

Input Format

Input consists of the total amount of money the three people have (0x1090 \le x \le 10^9).

Output Format

Output the original amounts of money for A, B, and C, separated by spaces.

Sample

24
13 7 4