#include int main(){ using namespace std; unsigned long N; cin >> N; puts(N % 180 == 90 ? "Yes" : "No"); return 0; }