Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official.
×

Virtual contest is a way to take part in past contest, as close as possible to participation on time. It is supported only ICPC mode for virtual contests.
If you've seen these problems, a virtual contest is not for you - solve these problems in the archive.
If you just want to solve some problem from a contest, a virtual contest is not for you - solve this problem in the archive.
Never use someone else's code, read the tutorials or communicate with other person during a virtual contest.

No tag edit access

The problem statement has recently been changed. View the changes.

×
C. Terse princess

time limit per test

1 secondmemory limit per test

256 megabytesinput

standard inputoutput

standard output«Next please», — the princess called and cast an estimating glance at the next groom.

The princess intends to choose the most worthy groom, this is, the richest one. Whenever she sees a groom who is more rich than each of the previous ones, she says a measured «Oh...». Whenever the groom is richer than all previous ones added together, she exclaims «Wow!» (no «Oh...» in this case). At the sight of the first groom the princess stays calm and says nothing.

The fortune of each groom is described with an integer between 1 and 50000. You know that during the day the princess saw *n* grooms, said «Oh...» exactly *a* times and exclaimed «Wow!» exactly *b* times. Your task is to output a sequence of *n* integers *t*_{1}, *t*_{2}, ..., *t*_{n}, where *t*_{i} describes the fortune of *i*-th groom. If several sequences are possible, output any of them. If no sequence exists that would satisfy all the requirements, output a single number -1.

Input

The only line of input data contains three integer numbers *n*, *a* and *b* (1 ≤ *n* ≤ 100, 0 ≤ *a*, *b* ≤ 15, *n* > *a* + *b*), separated with single spaces.

Output

Output any sequence of integers *t*_{1}, *t*_{2}, ..., *t*_{n}, where *t*_{i} (1 ≤ *t*_{i} ≤ 50000) is the fortune of *i*-th groom, that satisfies the given constraints. If no sequence exists that would satisfy all the requirements, output a single number -1.

Examples

Input

10 2 3

Output

5 1 3 6 16 35 46 4 200 99

Input

5 0 0

Output

10 10 6 6 5

Note

Let's have a closer look at the answer for the first sample test.

- The princess said «Oh...» (highlighted in bold): 5 1 3 6 16 35 46 4 200 99.
- The princess exclaimed «Wow!» (highlighted in bold): 5 1 3 6 16 35 46 4 200 99.

Codeforces (c) Copyright 2010-2021 Mike Mirzayanov

The only programming contests Web 2.0 platform

Server time: Sep/23/2021 11:38:57 (j2).

Desktop version, switch to mobile version.

Supported by

User lists

Name |
---|