#include int main(){ int n; scanf("%d",&n); if(n==0||n==4||n==10){puts("Yes");} else{puts("No\n");} return 0; }