#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b;
long long e;
char c,d;
cin>>a>>c>>b>>d;
e=a*b;
cout<<e<<endl;
return 0;
}
/**************************************************************
Problem: 1129
User: hongjiaming
Language: C++
Result: Accepted
Time:9 ms
Memory:2072 kb
****************************************************************/