Files
python/TangDou/XiTi/1031.cpp

12 lines
201 B
C++
Raw Normal View History

2025-08-30 18:35:01 +08:00
#include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
if (n % 3 == 0 && n % 5 == 0) cout << "YES" << endl;
else cout << "NO" << endl;
return 0;
}