#include using namespace std; int main() { int N; cin >> N; string ans = "No"; if( N % 90 == 0 && N / 90 % 2 ) ans = "Yes"; cout << ans << endl; }