mo,zei=map(int,input().split())
mzei=int(mo*zei*10**-2)
print(mo+mzei)