#include<stdio.h>
struct treand
{
    int n,m;
};
int main()
{
    struct treand.tot;
    scanf("%d",&tot.n,&tot.m);
    if(tot.n<=0&&tot.m>0)
    {
        printf("Invalid input");
    }
    else
    {
        printf("%d",treand.tot);
    }
}