#include #include #include #include #define ll long long using namespace std; int main(){ int a,b,c=0; cin>>a>>b; if(b%a) c=1; cout<