fun main(args: Array) { val n = readLine()!!.toInt() println(if(n%90 == 0 && (n/90)%2 != 0) "Yes" else "No") }