n = int(input()) if n == 2: assert False print(-1)