#include using namespace std; int main(){ int n,d; cin>>n>>d; if(n==d)cout<<0<