// yuki 969 じゃんけん // 2019.1.19 bal4u #include int getchar_unlocked(void); #define gc() getchar_unlocked() int in() { // 非負整数の入力 int n = 0, c = gc(); do n = 10 * n + (c & 0xf); while ((c = gc()) >= '0'); return n; } int main() { int X; X = in(); puts((X == 0 || X == 4 || X == 10)? "Yes": "No"); return 0; }