# 215. Chicken, Rabbit and Crab

## I'm a slow walker, but I never walk backwards.

There are chicken, rabbit, and crab in a cage. Now given the total number of animals $s$, the total number of legs $f$, and the total number of tails of these animals $t$, please compute the numbers of the chicken, rabbit, and crab, respectively.

We assume that a chicken has two legs and one tail, a rabbit has four legs and one tail, and a crab has EIGHT legs and NO tail. If there is no solution, your program should output 0.

### Limit

$0 \le s, f, t \le 2^{31}-1$

## Input Format

Input will consist of one problem instance. Each instance will consist of one line. The first line will be three non-negative integers $s, f, t$.

## Output Format

If there is a solution, your program should output the numbers of chickens, rabbits, and crabs. Otherwise, your program should output 0.

## Sample input

9 48 5

## Sample output

234

## Sample input

9 48 20

## Sample output

0