v,t=map(float,raw_input().split()) print int(v*1000*t)/1000