#include<iostream>
#include<string>
using namespace std;
bool isNum(string s)
{
    for(int i=(s[0]=='-'?1:0);i<s.length();i++)
    if(!isdigit(s[i]))
    return false;
    return !s.empty() && s!="-";
}
int main()
{
    string sa, sb;
    if(!(cin>>sa>>sb)||!isNum(sa)||!isNum(sb))
    {
        cout<<"Invalid input"<<endl;
    }
    esle
    {
        long long a=stoll(sa);
        long long b=stoll(sb);
        if(b==0)
        cout<<"Division by zero is not allowed"<<endl;
        else
        cout<<a/b<<endl;
    }
    return 0;
}