#include<stdio.h>
int main(){
    int a,b;
    char c;
    if (scanf("%d %d%c",&a,&b,&c)!=3 ||c!='\n'){
     printf("Invalid input");
     return 1;
    }
    if(b==0){
        printf("Invalid input:b cannot be zero");
        return 1;
    }
    long long product=(long long)a*b;
    int quotient =a/b;
    printf("product:%lld",product);
    product("quotient:%d",quotient);
    return 0;
}