#include using namespace std; int main(){ double a;int k;cin>>a>>k; int z = (int)a*1000; cout << a*k/1000 << endl; }