CF286A Lucky Permutation

Description

A permutation $ p $ of size $ n $ is the sequence $ p_{1},p_{2},...,p_{n} $ , consisting of $ n $ distinct integers, each of them is from $ 1 $ to $ n $ $ (1

Input Format

The first line contains integer $ n $ ( $ 1

Output Format

Print "-1" (without the quotes) if the lucky permutation $ p $ of size $ n $ doesn't exist. Otherwise, print $ n $ distinct integers $ p_{1},p_{2},...,p_{n} $ $ (1