#include <bits/stdc++.h> using namespace std; int main() { int a; cin >> a; if (a % 2 == 0 || a % 3 == 0) { cout << "Y"; } else { cout << "N"; } return 0; }
#include <bits/stdc++.h> using namespace std;
int main() { int n; cin >> n; if (n % 2 == 0 || n % 3 == 0) { cout << "Y"; } else { cout << "N";
return 0; }
}
使用您的 蒙青创OJ 通用账户