a,b=map(float,input().split()) a_s=a*1000 b_s=b*1000 print(int((a_s*b_s)/1000000))