//MD. HASNAIN ALI (UNSOLVED)
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>

#define MAX(a,b) (a>b? a:b)
#define SWAP(a,b) {        \
                    a=a+b; \
                    b=a-b; \
                    a=a-b; }
#define ll long long


int main()
{
    long long int a,b;
    double c;

    scanf("%lld %lf",&a,&c);
    b=a*c;
    printf("%lld\n",b);

    return 0;
}
