#include using namespace std; int a,b,c; int main(){ scanf("%d.%d %d",&a,&b,&c); cout<<(a*10000+b)*c/10000<