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