#include using namespace std; int main(void) { cin.tie(0); ios::sync_with_stdio(false); int N; cin >> N; N %= 180; if (N == 90) cout << "Yes" << '\n'; else cout << "No" << '\n'; return 0; }