«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*<sub class="lower-index">1</sub>, *t*<sub class="lower-index">2</sub>, ..., *t*<sub class="lower-index">*n*</sub>, where *t*<sub class="lower-index">*i*</sub> 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.
The only line of input data contains three integer numbers *n*, *a* and *b* (1 ≤ *n* ≤ 100, 0 ≤ *a*, *b* ≤ 15, *n* &gt; *a* + *b*), separated with single spaces.
10 2 3
1 2 4 8 9 10 10 10 10 10 
5 0 0
1 1 1 1 1 
5 2 2
1 2 4 5 6 
6 2 2
1 2 4 5 6 6 
10 9 0
-1
1 0 0
1 
10 0 9
1 2 4 8 16 32 64 128 256 512 
42 10 13
1 2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8202 8202 8202 8202 8202 8202 8202 8202 8202 8202 8202 8202 8202 8202 8202 8202 8202 8202 
7 3 3
1 2 4 8 9 10 11 
12 0 0
1 1 1 1 1 1 1 1 1 1 1 1 
19 1 0
1 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 
17 2 3
1 2 4 8 9 10 10 10 10 10 10 10 10 10 10 10 10 
7 3 1
1 2 3 4 5 5 5 
19 3 1
1 2 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 
10 4 4
1 2 4 8 16 17 18 19 20 20 
11 5 4
1 2 4 8 16 17 18 19 20 21 21 
8 0 2
1 2 4 4 4 4 4 4 
19 5 1
1 2 3 4 5 6 7 7 7 7 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 2 2 2 2 2 2 2 2 2 2 
100 1 1
1 2 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 
100 2 0
1 1 2 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 
100 0 2
1 2 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 
16 0 15
1 2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768 
16 15 0
-1
100 0 15
1 2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 32768 ...
100 15 0
1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 
100 11 13
1 2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 8203 
100 15 15
1 2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768 32769 32770 32771 32772 32773 32774 32775 32776 32777 32778 32779 32780 32781 32782 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 32783 ...
100 14 15
1 2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768 32769 32770 32771 32772 32773 32774 32775 32776 32777 32778 32779 32780 32781 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 32782 ...
100 15 14
1 2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 16385 16386 16387 16388 16389 16390 16391 16392 16393 16394 16395 16396 16397 16398 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 16399 ...
9 4 4
1 2 4 8 16 17 18 19 20 
100 2 15
1 2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768 32769 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 32770 ...
3 1 0
1 1 2 
7 4 0
1 1 2 3 4 5 5 
5 2 0
1 1 2 3 3 
2 0 0
1 1 
5 1 0
1 1 2 2 2 
10 2 0
1 1 2 3 3 3 3 3 3 3 
10 7 0
1 1 2 3 4 5 6 7 8 8 
5 3 0
1 1 2 3 4 
10 1 0
1 1 2 2 2 2 2 2 2 2 
10 5 0
1 1 2 3 4 5 6 6 6 6 
100 3 0
1 1 2 3 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 
100 5 12
1 2 4 8 16 32 64 128 256 512 1024 2048 4096 4097 4098 4099 4100 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 4101 
15 10 0
1 1 2 3 4 5 6 7 8 9 10 11 11 11 11 
def main():
    n, a, b = map(int, input().split())

    if (1 << b) + a > 50000 or (n > 1 and a == n - 1):
        print("-1")
    else:
        t = [0] * n
        sz = 0
        t[sz] = 1
        sz += 1

        for i in range(b):
            t[sz] = t[sz - 1] + 1
            sz += 1

        for i in range(n - a - b - 1):
            t[sz] = 1
            sz += 1

        for i in range(a):
            t[sz] = (1 << b) + i + 1
            sz += 1

        for i in range(n):
            print(t[i], end=" ")
        print()

if __name__ == "__main__":
    main()
