import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines v,t = read().split() v = float(v); t = int(t) v = int(v * 10 ** 4 + .5) x = v * t // (10 ** 4) print(x)