Skip to content

Commit 4100a8f

Browse files
Create A- Watermelon.cpp
1 parent 1117b57 commit 4100a8f

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

CodeForces/A- Watermelon.cpp

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#include <iostream>
2+
3+
using namespace std;
4+
5+
int main()
6+
{
7+
int w;
8+
cin >> w;
9+
if (w % 2 == 0 && w > 2)
10+
{
11+
cout << "YES" << endl;
12+
}
13+
else
14+
{
15+
cout << "NO" << endl;
16+
}
17+
return 0;
18+
}

0 commit comments

Comments
 (0)