diff --git a/CODEFORCES/Contest/Contest 4/4A.cpp b/CODEFORCES/Contest/Contest 4/4A.cpp index 58d725a..985ae2d 100644 --- a/CODEFORCES/Contest/Contest 4/4A.cpp +++ b/CODEFORCES/Contest/Contest 4/4A.cpp @@ -1,26 +1,14 @@ -#include -#include -#include - +#include using namespace std; -using namespace __gnu_pbds; -#define endl '\n' -#define int long long -#define inp freopen("file.inp", "r", stdin) -#define out freopen("file.out", "w", stdout) -#define TIME 1.0*clock()/CLOCKS_PER_SEC -#define fastIO ios_base::sync_with_stdio(0); cin.tie(0) -template using ordered_set = tree, rb_tree_tag, tree_order_statistics_node_update>; -template using ordered_map = tree, rb_tree_tag, tree_order_statistics_node_update>; +int main() { + int w; + cin >> w; -const int MAXN = 1e6 + 5; -const int MOD = 1e9 + 7; + if (w % 2 == 0 && w >= 4) + cout << "YES"; + else + cout << "NO"; -signed main() { - fastIO; - int n; - cin >> n; - cout << (n & 1 || n < 4 ? "NO" : "YES"); return 0; } \ No newline at end of file