#include int main(){ int N; std::cin >> N; N %= 180; if(N == 90){ std::cout << "Yes" << "\n"; }else{ std::cout << "No" << "\n"; } return 0; }