13 lines
245 B
C++
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;
|
|
} |