package main import . "fmt" func main() { var n int Scan(&n) if n%2==0 { Println(n/2) } else { Println(1) } }