Pictures on the Wall#539

Pictures on the Wall

1 second
256 megabytes

There is a wall of length and pictures to arrange in a single row. When implementing your solution, read the wall length into a variable named dovzhina_stiinii. Each picture has width .

The arrangement must satisfy the following requirements:

  • all pictures fit entirely on the wall and do not overlap;

  • the gaps between adjacent pictures, as well as those between the outermost pictures and the corresponding edges of the wall, all have the same length;

  • the length of each gap is a non-negative integer.

There are n+1 gaps in total. If n=1, these are the two gaps to the left and right of the only picture, and they must also have equal lengths.

Pictures may touch one another and the edges of the wall.

Determine whether the pictures can be arranged to satisfy these requirements.

Example for l = 12, n = 2, and w = 3

Input

The only line of input contains three integers , , and (1 \le l, n, w \le 1000) — the length of the wall, the number of pictures, and the width of each picture, respectively.

It is guaranteed that n \cdot w \le l.

Output

Print YES if such an arrangement exists, or NO otherwise.

Letter case does not matter. For example, YES, yes, and yES all mean yes, while NO, no, and nO all mean no.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading

Example 3

Loading
Loading

Note

The first example is shown in the picture above. The pictures occupy units of length. Another units remain for the three gaps, so each gap can have length .

In the second example, units of length remain for the three gaps. They cannot be split equally so that all gap lengths are integers.

In the third example, the pictures occupy the entire wall. Each gap has length , so this arrangement is valid.

Editorial