#include<stdio.h>
int main(){
    int n,t;
    scanf("%d,%d",n,t);
    printf("%d",n*t);
}