package main import . "fmt" func main() { var n int Scan(&n) n%=360 if n==90||n==270 { Println("Yes") } else { Println("No") } }