Files
python/TangDou/AoSaiYiBenTong/YBT1046.cpp
HuangHai 1f397eca87 'commit'
2025-08-30 18:35:01 +08:00

13 lines
245 B
C++

#include <bits/stdc++.h>
using namespace std;
int main() {
//cin读入优化
std::ios::sync_with_stdio(false);
int n;
cin >> n;
if (n % 3 == 0 && n % 5 == 0) cout << "YES";
else cout << "NO";
return 0;
}