#include #include #include int main(void){ long long int n;scanf("%lld",&n); if(n==0||n==4||n==10){printf("Yes\n");} else{printf("No\n");} }