#include<iostream> using namespace std; int main() { int a; double b; cin>>a>>b; b=(int)(a*b/100+0.5)*10; cout<<b<<endl; }