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