Problems

# Young Programmers

# Young Programmers

It is known that the school not less than `k`

students, but not more than _{1}`k`

учеников. students. Also know that every boy be friends _{2}`n`

girls, each girl with `m`

boys. What is the minimum number of students can be in school and how school boys and girls?

Young programmers, as you can see, still solve this puzzle. Help them.

#### Input

The first line of the input file is 4 numbers separated by spaces: `k`

, _{1}`k`

, _{2}`n`

and `m`

. All input data are natural numbers not exceeding 10000, `k`

._{1} ≤ k_{2}

#### Output

In a single line display through gap three numbers: first, the number of pupils at school, then the number of boys and then girls. Guaranteed that the input data is correct and the answer is always there.

Input example

20 30 4 5

Output example

27 15 12