
import java.util.Scanner
object Main extends App {
  val sc = new Scanner(System.in)

  val a, b, c = sc.nextInt()

  (b * 10 + c) % 2 == 0 match {
    case true => println("YES")
    case false => println("NO")
  }
}
