A, B = list(map(int, input().split()))

print((A * B))
import math

A, B = list(map(float, input().split()))

B *= 100

mul = math.floor(A * B)

print((int(mul/100)))
A, B = list(map(int, input().split()))
print((A * B))

import math

A, B = list(map(float, input().split()))
B *= 100
mul = math.floor(A * B)
print((int(mul / 100)))

-A, B = list(map(int, input().split())) -print((A * B)) +import math + +A, B = list(map(float, input().split())) +B *= 100 +mul = math.floor(A * B) +print((int(mul / 100)))