#include using namespace std; int main() { int A,B; cin>>A>>B; for (int i = 1; i <= A; i++) { if (A % i == 0 && i % B == 0) { cout << "YES" <