package main import ( "fmt" ) func main() { var x int fmt.Scan(&x) if x == 1 { fmt.Println(-1) } else { fmt.Println(2*x) } }