#include<bits/stdc++.h> using namespace std; int main() { int a; cin>>a; if(a%2||a==2) cout<<"NO, you can't divide the watermelon into two even parts."; else cout<<"YES, you can divide the watermelon into two even parts."; return 0; }
二星就开始有数学了...我竟然忘了2是不符合的,一定是因为被数学吓到了哼
所以别害怕,算法和代码差不多难的