One hot summer day Pete and his friend Billy decided to buy a watermelon. They chose the biggest and the ripest one, in their opinion. After that the watermelon was weighed, and the scales showed *w* kilos. They rushed home, dying of thirst, and decided to divide the berry, however they faced a hard problem.

Pete and Billy are great fans of even numbers, that's why they want to divide the watermelon in such a way that each of the two parts weighs even number of kilos, at the same time it is not obligatory that the parts are equal. The boys are extremely tired and want to start their meal as soon as possible, that's why you should help them and find out, if they can divide the watermelon in the way they want. For sure, each of them should get a part of positive weight.
The first (and the only) input line contains integer number *w* (1 ≤ *w* ≤ 100) — the weight of the watermelon bought by the boys.
# -*- coding: utf-8 -*-
"""
Created on Mon Aug 28 23:19:16 2023

@author: Zinc
"""
"""
一个炎热的夏日，皮特和他的朋友比利决定买一个西瓜。在他们看来，他们选择了最大和最成熟的一个。
之后称量西瓜，秤显示w公斤。
他们冲回家，渴死了，决定分浆果，但他们面临着一个难题。
皮特和比利是偶数的忠实粉丝，这就是为什么他们想以这样一种方式划分西瓜，
即两个部分中的每一个都重偶数公斤，同时这些部分并不一定要相等。男孩们非常疲惫，想尽快开始吃饭，
这就是为什么你应该帮助他们并找出他们是否可以按照他们想要的方式分配西瓜。
当然，他们每个人都应该得到一部分正权重。
"""
w=int(input())
if w>=1 and w<=100 and w%2==0: 
    print('Yes')
else:
    print('No')
