Little boy Valera studies an algorithm of sorting an integer array. After studying the theory, he went on to the practical tasks. As a result, he wrote a program that sorts an array of n integers a_1, a_2, ..., a_{n} in the non-decreasing order. The pseudocode of the program, written by Valera, is given below. The input of the program gets number n and array a.

loop integer variable i from 1 to n - 1

    loop integer variable j from i to n - 1

        if (a_{j} > a_{j} + 1), then swap the values of elements a_{j} and a_{j} + 1



But Valera could have made a mistake, because he hasn't yet fully learned the sorting algorithm. If Valera made a mistake in his program, you need to give a counter-example that makes his program work improperly (that is, the example that makes the program sort the array not in the non-decreasing order). If such example for the given value of n doesn't exist, print -1.


-----Input-----

You've got a single integer n (1 ≤ n ≤ 50) — the size of the sorted array.


-----Output-----

Print n space-separated integers a_1, a_2, ..., a_{n} (1 ≤ a_{i} ≤ 100) — the counter-example, for which Valera's algorithm won't work correctly. If the counter-example that meets the described conditions is impossible to give, print -1.

If there are several counter-examples, consisting of n numbers, you are allowed to print any of them.


-----Examples-----
Input
1

Output
-1

Difficulty: interview

Starter code:

Solutions:
n=int(input())

if(n<=2):
    print(-1)

else:
    for i in range(n,1,-1):
        print(i,end=" ")
    print(1)
    


n = int(input())
if n > 2: print(' '.join(str(i) for i in range(n, 0, -1)))
else: print(-1)

n = int(input())
if n == 1 or n == 2:
    print(-1)
else:
    for i in range(n, 0, -1):
        print(i, end = ' ')

n = int(input())
if n <= 2:
    print(-1)
else:
    for i in range(n, 1, -1):
        print(i, end = ' ')
    print(1)




n = int(input())
if n <= 2:
    print(-1)
else:
    for i in range(n, 0, -1):
        print(i, end=" ")

__copyright__ = ''
__author__ = 'Son-Huy TRAN'
__email__ = "sonhuytran@gmail.com"
__doc__ = ''
__version__ = '1.0'


def main() -> int:
    n = int(input())

    if n <= 2:
        print(-1)
    else:
        result = [str(i) for i in range(n, 0, -1)]
        print(' '.join(result))

    return 0


def __starting_point():
    exit(main())
__starting_point()

#July 4, 2014
sa=int(input())
string=''
if sa==1 or sa==2:
    print("-1")
else:
    for x in range(sa, 0, -1):
        string+=str(x)
        string+=' '
    print(string.strip())


n = int(input())
if n <= 2:
    print(-1)
else:
    x = ''
    for i in range(n,0,-1):
        x += str(i) + ' '
    print(x[:-1])


n = int(input())
if n<3:
    print(-1)
else:
    for i in range(n,0,-1):
        print(i,end=' ')

n = int(input())
if n <= 2:
    print(-1)
else:
    print(' '.join(map(str, list(range(2, n + 1)) + [1])))

a=int(input())
if a<=2:print(-1)
else:print(' '.join(list(map(str,list(range(1,a+1))))[::-1]))


n = int(input())
print(-1 if n < 3 else " ".join(map(str, [x for x in range(n, 0, -1)])))

n = int(input())
if n < 3:
	print(-1)
else:
	print(' '.join(list(map(str, list(range(n, 0, -1))))))


import sys

n = int(sys.stdin.readline())

if(n <= 2):
	print(-1)
	return
	
res = []
for i in range(2, n + 1):
	res.append(str(i))
	
res.append(str(1))
print(" ".join(res))


import sys

n = int(sys.stdin.readline())

if(n <= 2):
	print(-1)
	return
	
res = []
for i in range(n, 0, -1):
	res.append(str(i))
	
print(" ".join(res))

def main():
    n = int(input())
    if n < 3:
        print(-1)
    else:
        print(*list(range(n, 0, -1)))


main()


def s(a):
    k = len(a)
    for i in range(k-1):
        for j in range(i,k-1):
            if a[j] > a[j+1]:
                a[j],a[j+1] = a[j+1],a[j]
    return a
def main():
    n = int(input())
    if n <= 2:
        v = [-1]
    else:
        v = [int(i) for i in range(n,0,-1)]
    print(*v,sep = ' ')
def __starting_point():
    main()

__starting_point()


def main():
    n = int(input())
    if n <= 2:
        v = [-1]
    else:
        v = [int(i) for i in range(n,0,-1)]
    print(*v,sep = ' ')
def __starting_point():
    main()

__starting_point()

# coding: utf-8
n = int(input())
if n<=2:
    print(-1)
else:
    print(' '.join([str(i) for i in range(2,n+1)]+['1']))