#include using namespace std; using ll=long long; const ll mod=998244353; int main(){ ll n,m; cin>>n>>m; ll ans=1; if(n>=m){ cout<<0<