Compute A \times B, truncate its fractional part, and print the result as an integer.
A, B = map(float, input().split())
int(A*B)
A, B = input().split()
A = int(A)
B = int(B[:-3]+B[-2:])

if len(str(A*B)) >= 3:
    print(str(A*B)[:-2])
else:
    print(0)