#include using namespace std; using ll = long long; int main() { int n; cin >> n; cout << (n % 180 == 90 ? "Yes" : "No") << endl; }