Skip to content

Instantly share code, notes, and snippets.

@karupayun
Created December 24, 2015 23:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save karupayun/30b29b467a50dcab70d4 to your computer and use it in GitHub Desktop.
Save karupayun/30b29b467a50dcab70d4 to your computer and use it in GitHub Desktop.
#include <stdio.h>
#include <algorithm>
#include <set>
#include <map>
#include <vector>
#include <string>
#include <queue>
#include <math.h>
#define N 100
using namespace std;
int main()
{
int w;
scanf("%d", &w);
if(w%2==0 && w>2) printf("YES\n");
else printf("NO\n");
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment