fun main(){ println(if(readLine()!!.toInt()%360%180==90) "Yes" else "No") }