#include <stdio.h>
#include <stdlib.h>

int main() {
    char s[100];
    fgets(s, 100, stdin);
    long long a = atoll(s), b = atoll(strchr(s, '*') + 1);
    printf("%lld\n", a * b);
    return 0;
}
/**************************************************************
	Problem: 1129
	User: fuhoubin
	Language: C++
	Result: Compile Error
****************************************************************/