#include #define rep(i,n) for(int i=0;i<(n);i++) using namespace std; int main(){ int n; scanf("%d",&n); puts(n%180==90?"Yes":"No"); return 0; }