import numpy as np

import scipy as sp

import math



a, b = list(map(str, input().split()))

a = int(a)

b = int(float(b) * 100.001)

ans = int(a * b // 100)

print(ans)
a,b = list(map(int,input().split()))

print((a*b))
import numpy as np
import scipy as sp
import math

a, b = list(map(str, input().split()))
a = int(a)
b = int(float(b) * 100.001)
ans = int(a * b // 100)
print(ans)

a, b = list(map(int, input().split()))
print((a * b))

-import numpy as np -import scipy as sp -import math - -a, b = list(map(str, input().split())) -a = int(a) -b = int(float(b) * 100.001) -ans = int(a * b // 100) -print(ans) +a, b = list(map(int, input().split())) +print((a * b))