import math a, b = input().split() a, b = int(a), int(b) / 100 print(math.floor(a + a * b))