fun main(){ println(if(readLine()!!.toInt()%2==1) "NO" else "YES") }