#include int main(void) { int n; scanf("%d", &n); if(n % 90 == 0 && n % 180 != 0){ printf("Yes\n"); } else { printf("No\n"); } return 0; }