#include <iostream>
#include <stdio.h>
using namespace std;
int main()
{
// #ifndef ONLINE_JUDGE
//     freopen("input.txt", "r", stdin);
//     freopen("output.txt", "w", stdout);
// #endif
    int a;
    double b;
    scanf("%i %lf", &a, &b);
    double c = a * b;
    int d = c;
    printf("%i", d);
}


