#include using namespace std; int main(void){ // Your code here! int aNum, bNum = 0; cin >> aNum >> bNum; cout << (aNum % bNum == 0 ? "YES" : "NO") << endl; }