#include #include #include extern int getchar_unlocked(void); extern int putchar_unlocked(int); #define gc(d) (d)=getchar_unlocked() static char *GETWORD(char* str) {char c;char *cp;cp=&str[0];gc(c);while(c!=EOF){if((c==' ')||(c=='\n'))break;*cp++=c;gc(c);}*cp='\0';return &str[0];} #define GETLINE(str) do{char *p;fgets(str,sizeof(str),stdin);p=strchr(str,'\n');if(p)*p='\0';}while(0) static int GETLINEINT(void) {char s[34];GETLINE(s);return atoi(s);} #define YES(a) printf("%s",((a)?"YES":"NO")) // ********************* int take[] = {1,3,9,27,81,243,729,2187,6561,19683,59049,117147,531441 ,1594323,4782969,14348907,43046721,129140163,387420489 }; // ********************* int main( void ) { YES( !(GETLINEINT() & 1) ); }