#include<stdio.h>
int main()
{
    int a;
    char b;
    scanf("%d%c",&a*&b);
    printf("%d",a*b);
    return 0;
}