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