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