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