#include "iostream" using namespace std; int a,b; int main(){ cin>>a>>b; if(b%a==0)cout<