package main import "fmt" func main() { var N int fmt.Scan(&N) if N%90 == 0 && N%180 != 0 { fmt.Println("Yes") } else { fmt.Println("No") } }