#include <bits/stdc++.h>
using namespace std;
int main()
{
    int x;
    cin>>x;
    if(x&1)cout<<"No"<<endl;//通过瞪眼法,我们可以发现,如果这个数是奇数,那么他就不能通过操作变成奇数,偶数则能变成奇数
    else cout<<"Yes"<<endl;
    return 0;
}