#include using namespace std; using ll = long long; int main(){ cin.tie(nullptr); ios_base::sync_with_stdio(false); int N; cin >> N; cout << (N % 180 == 90 ? "Yes" : "No") << endl; return 0; }