h2022021 2023-10-28 11:18:16
#include<bits/stdc++.h> using namespace std;
int main() { int n; cin>>n; while(n%2==0) { n=n/2; } while(n%3==0) { n=n/3; } while(n%5==0) { n=n/5; } if(n==1) { cout<<"yes"; } else { cout<<"no"; }
return 0;
}