#include<iostream>
using namespace std;
int main(){
int n;
while(cin>>n){
if ((n-2)%4==0)
printf("yes\n");
else
printf("no\n");
}
return 0;
}
#include<iostream>
using namespace std;
int main(){
int n;
while(cin>>n){
if ((n-2)%4==0)
printf("yes\n");
else
printf("no\n");
}
return 0;
}