Problem:
 Score : 300 points    Problem Statement Compute A \times B , truncate its fractional part, and print the result as an integer.      Constraints  0 \leq A \leq 10^{15}  0 \leq B < 10  A is an integer.  B is a number with two digits after the decimal point.         Input Input is given from Standard Input in the following format:  A  B       Output Print the answer as an integer.        Sample Input 1 198 1.10      Sample Output 1 217  We have 198 \times 1.10 = 217.8 . After truncating the fractional part, we have the answer: 217 .       Sample Input 2 1 0.01      Sample Output 2 0       Sample Input 3 1000000000000000 9.99      Sample Output 3 9990000000000000

Solution (Python):
A, B = input().split()
ans = int(A) * round(float(B) * 100) // 100
print(int(ans))

Solution (Python):
A, B = input().split()
ans = (int(A) * (int(B[0])*100 + int(B[2])*10 + int(B[3]))) // 100
print(int(ans))

Solution (Python):
import math
x, y = list(map(float, input().split()))

x = int(x)
y = int(y * 100 + 0.5)
 
print(x * y // 100)

Solution (Python):
a,b=map(str,input().split())
a=int(a)
c,d=map(int,b.split("."))

x=a*c+(a*d//100)
print(x)

Solution (Python):
A,B=map(float,input().split())
A=int(A)
B=int(B*100+0.9999999999999)
print(A*B//100)

Solution (Python):
A,B=map(float,input().split())
A=int(A)
B=int(B*100+0.9999999999)
print(A*B//100)

Solution (Python):
A,B=map(float,input().split())
A=int(A)
B=int(B*100+0.999999)
print(A*B//100)

Solution (Python):
A,B=map(float,input().split())
A=int(A)
B=int(B*100+0.9)
print(A*B//100)

Solution (Python):
A,B=map(float,input().split())
A=int(A)
B=int(B*100+0.1)
print(A*B//100)

Solution (Python):
A,B=map(float,input().split())
A=int(A)
B=int(B*100+0.001)
print(A*B//100)

Solution (Python):
a, b = map(float, input().split())
a = int(a)
b = int(b * 100 + 0.5)
print(a * b // 100)

Solution (Python):
from decimal import Decimal

a, b = map(Decimal, input().split())
ret = (int)(a * b)
print("{}".format(ret))

Solution (Python):
from math import floor
from fractions import Fraction
a, b = input().split()
a = int(a)
b = Fraction(b)
print(floor(a * b))

Solution (Python):
a,b=input().split()
a=int(a)
b=int(b.replace('.',''))*100
print(a*b//10000)

Solution (Python):
from decimal import *
a,b=map(Decimal,input().split())
print(int(a*b))

Solution (Python):
a,b=input().split()
a=int(a)
b1,b2=map(int,b.split('.'))
b=b1*100+b2
c=a*b//100
print(c)

Solution (Python):
a, b = input().split()
a = int(a)
big_b = int(b[0]) * 100 + int(b[2]) * 10 + int(b[3])
c = str(a * big_b)
print(c[:-2] if int(c) >= 100 else 0)

Solution (Python):
def i():
	return int(input())
def i2():
	return map(str,input().split())
def s():
	return str(input())
def l():
	return list(input())
def intl():
	return list(int(k) for k in input().split())

from decimal import Decimal
a,b = i2()
c = Decimal(a)
d = Decimal(b)
print(int(c*d))

Solution (Python):
A,B=input().split()
A=int(A)
B=int(B.replace(".",""))
print(A*B//100)

Solution (Python):
A,B=input().split()
A=int(A)
B=int(B.replace(".",""))*100
print(A*B//10000)

Solution (Python):
a, b = input().split()
a = int(a)
b1, b2 = b.split(".")
ans = a*int(b1) + a*int(b2)//100
print(ans)

Solution (Python):
import decimal

vs = input().split()

a = int(vs[0])
b = decimal.Decimal(vs[1])

r = str(a * b).split('.')[0]
print(r)

Solution (Python):
A, B = input().split()
B = list(map(int, B.split('.')))
print(int(A)*(B[0]*100+B[1])//100)

Solution (Python):
m,n=input().split()
print(int(m)*int(n[0]+n[2::])//100)

Solution (Python):
AB = list(input().split())
A = int(AB[0])
B = int(float(AB[1]) * 100 + 0.5)
print(A * B // 100)

Solution (Python):
AB = list(input().split())
A = int(AB[0])
B = int(float(AB[1]) * 100 + 0.5)
A *= B
print(A // 100)

Solution (Python):
from decimal import Decimal
print((lambda a, b: int(a * b))(*map(Decimal, input().split())))

Solution (Python):
def main():
  
  
  from decimal import Decimal

  
  

  
  
  
  if 'get_ipython' in globals(): 
    
    a, b = 198, 1.10

  else:
    
    
    a, b = map(str, input().split())

  
  print(int(int(a)*Decimal(b)))
    
main()

Solution (Python):
from decimal import *
a,b = map(Decimal,input().split())
print(int(a*b))

Solution (Python):
from decimal import *

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

Solution (Python):
import numpy as np
import scipy as sp
import math
from decimal import Decimal

x, y = input().split()
a = int(x)
b = Decimal(y)
print(math.floor(a*b))

Solution (Python):
from decimal import *
a,b=map(Decimal,input().split())
z=a*b
print(int(z))

Solution (Python):
a, b = input().split()
a = int(a)
b_int, b_frac = b.split(".")
bb = int(b_int) * 100 + int(b_frac)
print(a * bb // 100)

Solution (Python):
from math import floor
from fractions import Fraction
a, b = input().split()
a = int(a)
b = Fraction(b)
print(floor(a * b))

Solution (Python):
from math import floor
from decimal import Decimal
a, b = input().split()
a = int(a)
b = Decimal(b)
print(floor(a * b))

Solution (Python):
from math import floor

a, b = input().split()
a = int(a)
b = round(float(b) * 100)
print(a * b // 100)

Solution (Python):


def readinput():
    
    a,b=input().split()
    a=int(a)
    b=float(b)
    return a,b

def main(a,b):
    
    b=int(b*100+0.5)
    ans=a*b//100
    return ans

if __name__=='__main__':
    a,b=readinput()
    ans=main(a,b)
    print(ans)

Solution (Python):
A, B = input().split()

import decimal
A = decimal.Decimal(A)
B = decimal.Decimal(B)
m = A * B
print(int(m))

Solution (Python):
A, B = input().split()

import decimal
A = decimal.Decimal(A)
B = decimal.Decimal(B)
m = A * B
print(m//1)

Solution (Python):
A, B = input().split()

A = int(A)
B = B.replace('.', '')


B = int(B)
ans = A * B // 100
print(ans)

Solution (Python):
import math

a,b=map(str,input().split())
c=int(a)
e=b.replace('.','')
d=int(e[0])*100+int(e[1])*10+int(e[2])
print(c*d//100)

Solution (Python):
a, b = input().split()
a = int(a)
b = int(b.replace(".", ""))

ans = a * b // 100

print(ans)

Solution (Python):
a, b = input().strip().split()
a, b = [int(a), float(b)]
ans = int(a * round(b * 100) // 100)

print(ans)

Solution (Python):
A,B=input().split()
A=int(A)
ans=A*(int(B[0])*100+int(B[2])*10+int(B[3]))
ans=int(ans//100)
print(ans)

Solution (Python):
A, B = input().split()
A = int(A)
B_int, B_float = map(int, B.split("."))

ans = A * (B_int * 100 + B_float) // 100
print(ans)

Solution (Python):

import sys
from decimal import *


def solve(A: int, B: float):
    print(int(A*B))
    return



def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    A = int(next(tokens))  
    B = Decimal(next(tokens))  
    solve(A, B)

if __name__ == '__main__':
    main()

Solution (Python):
A, B = input().split()
BA, BB = B.split(".")

print((int(A)*(int(BA)*100+int(BB))//100))

Solution (Python):
a, b = input().split()
a = int(a)
b = int(float(b) * 100 + 0.5)
ans = a*b
print(ans//100)

Solution (Python):
from decimal import Decimal
from math import floor

a_in, b_in= input().split()
a = int(a_in)
b = Decimal(b_in)

print(floor(a * b))

Solution (Python):
from decimal import Decimal

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

Solution (Python):
input = input().split()
A = int(input[0])
B = int(input[1].replace(".",""))
print(A*B//100)

Solution (Python):
import math
from decimal import *
A,B = map(Decimal,input().split())
print(int(A*B))

Solution (Python):
sp = input().split()
A = int(sp[0])
B = int(sp[1].replace(".",""))
print(A*B//100)

Solution (Python):
import math
from decimal import *
A, B = list(map(Decimal, input().split()))
print(math.floor(A*B))

Solution (Python):


import sys
def I(): return int(sys.stdin.readline().rstrip())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))
def S(): return sys.stdin.readline().rstrip()
def LS(): return list(sys.stdin.readline().rstrip().split())
A,B = LS()
for i,c in enumerate(B):
  if c == '.':
    break
res = str(int(A)*int(B[0:i]+B[i+1:]))
pos = len(res)-(len(B)-i-1)
if pos <= 0:
  print("0")
else:
	print(res[0:pos])

Solution (Python):
import math
import fractions
a, b = input().split()
a = int(a)
b = fractions.Fraction(b)
print(math.floor(a*b))

Solution (Python):
from decimal import Decimal
a, b = map(Decimal, input().split())
print(int(a*b))

Solution (Python):
from decimal import Decimal
a, b = map(Decimal, input().split())
print(int(a*b))

Solution (Python):
from decimal import Decimal
a, b = map(Decimal, input().split())
print(int(a * b))

Solution (Python):
import math
from decimal import Decimal
A,B = map(str,input().split())
i = math.floor(Decimal(A) * Decimal(B))
print(i)

Solution (Python):
import decimal
a,b=map(decimal.Decimal,input().split())
print(int(a*b))

Solution (Python):
from decimal import Decimal
a,b=map(Decimal,input().split())
print(int(a*b))

Solution (Python):



def main():
    import sys
    import math
    from decimal import Decimal
    input = sys.stdin.readline
    sys.setrecursionlimit(10**6)
    

    def dump(*args):
        sys.stderr.write(str(args))

    a, b = map(Decimal, input().split())
    print(math.floor(a*b))


if __name__ == '__main__':
    main()

Solution (Python):
from decimal import Decimal

C, D = map(Decimal, input().split())
print(int(C*D))

Solution (Python):
from decimal import Decimal

S, T = input().split()
S = Decimal(S)
T = Decimal(T)

print(int(S*T))

Solution (Python):
Z = input().split()
A = int(Z[0])
B = Z[1].split('.')
B = int(B[0] + B[1])

if len(str(A*B)) <= 2:
  a = 0
else:
  a = str(A*B)[:-2]
  a = int(a)
print(a)

Solution (Python):
a,b=list(map(float, input().split()))
a=int(a)
b=round(b*100)
print((a*b)//100)

Solution (Python):
from decimal import *
a,b=map(Decimal,input().split())
res=a*b
res=res.quantize(exp=Decimal('1.'),rounding=ROUND_DOWN)
print(res)

Solution (Python):
a,b = input().split(' ')

a = int(a)
b = int(b[0])*100 + int(b[2])*10 + int(b[3])
print(a*b//100)

Solution (Python):
import math

a, b = input().split()
A, B = [int(a), int(b.replace('.', ''))]

print(A * B // 100)

Solution (Python):
a,b = input().split()
a = int(a)
b = int(b.replace('.',''))
print(a*b//100)

Solution (Python):
from decimal import Decimal

C, D = map(Decimal, input().split())
print(int(C*D))

Solution (Python):
a, b = map(float, input().split())
a = int(a)
b = round(b*100)

if a*b < 100:
    print(0)
else:
    print(str(a*b)[:-2])

Solution (Python):
import math
from decimal import Decimal
a,b = input().split()
a = int(a)
b = Decimal(b)
print(math.floor(a*b))

Solution (Python):
from math import floor
from decimal import Decimal

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

ans = int(A) * Decimal(B)

print(floor(ans))

Solution (Python):
a,b=input().split()
a=int(a)
bb=[0,0]
c=0
for i in b:
    if(i=='.'):
        c=1
        continue
    bb[c]*=10
    bb[c]+=int(i)
res=a*bb[0] + (a*bb[1])//100
print(res)

Solution (Python):
from math import floor
from decimal import Decimal
a, b = input().split()
a = int(a)
b = Decimal(b)
print(floor(a * b))

Solution (Python):
def q_c():
    a = input().split()
    a_1 = int(a[0])
    if "." not in a[1]:
        a_2 = int(a[1]) * 100
    else:
        a_2 = int((a[1] + "00").replace(".","")[0:3])

    a = str(a_1 * a_2)
    if len(a) >= 3:
        print(a[0:-2])
    else:
        print(0)


if __name__ == '__main__':
    q_c()

Solution (Python):
import numpy as np
import scipy.sparse as sps
import scipy.misc as spm
import collections as col
import functools as func
import itertools as ite
import fractions as frac
import math as ma
import cmath as cma
import copy as cp
import sys
def sinput(): return sys.stdin.readline().strip()
def iinput(): return int(sinput())
def imap(): return map(int, sinput().split())
def fmap(): return map(float, sinput().split())
def iarr(n=0):
    if n: return [0 for _ in range(n)]
    else: return list(imap())
def farr(): return list(fmap())
def sarr(n=0):
    if n: return ["" for _ in range(n)]
    else: return sinput().split()
def barr(n): return [False for _ in range(n)]
sys.setrecursionlimit(10**7)
MOD = 10**9 + 7; EPS = sys.float_info.epsilon
PI = np.pi; EXP = np.e; INF = np.inf

a,b = farr()
a,b = int(a),int(b*100+ .5)
ans = (a*b) //100
print(ans)

Solution (Python):
import numpy as np
import scipy.sparse as sps
import scipy.misc as spm
import collections as col
import functools as func
import itertools as ite
import fractions as frac
import math as ma
import cmath as cma
import copy as cp
import sys
def sinput(): return sys.stdin.readline().strip()
def iinput(): return int(sinput())
def imap(): return map(int, sinput().split())
def fmap(): return map(float, sinput().split())
def iarr(n=0):
    if n: return [0 for _ in range(n)]
    else: return list(imap())
def farr(): return list(fmap())
def sarr(n=0):
    if n: return ["" for _ in range(n)]
    else: return sinput().split()
def barr(n): return [False for _ in range(n)]
sys.setrecursionlimit(10**7)
MOD = 10**9 + 7; EPS = sys.float_info.epsilon
PI = np.pi; EXP = np.e; INF = np.inf

a,b = farr()
a,b = int(a),int(b*100+ .5)
ans = (a*b) //100
print(ans)

Solution (Python):
import numpy as np
import scipy.sparse as sps
import scipy.misc as spm
import collections as col
import functools as func
import itertools as ite
import fractions as frac
import math as ma
import cmath as cma
import copy as cp
import sys
def sinput(): return sys.stdin.readline().strip()
def iinput(): return int(sinput())
def imap(): return map(int, sinput().split())
def fmap(): return map(float, sinput().split())
def iarr(n=0):
    if n: return [0 for _ in range(n)]
    else: return list(imap())
def farr(): return list(fmap())
def sarr(n=0):
    if n: return ["" for _ in range(n)]
    else: return sinput().split()
def barr(n): return [False for _ in range(n)]
sys.setrecursionlimit(10**7)
MOD = 10**9 + 7; EPS = sys.float_info.epsilon
PI = np.pi; EXP = np.e; INF = np.inf

a,b = farr()
a,b = int(a),int(b*100+ .5)
ans = (a*b) //100
print(ans)

Solution (Python):
from decimal import Decimal as dec
def main():
    a, b = map(dec, input().split())
    print(int(dec(a)*dec(b)))

if __name__ == "__main__":
    main()

Solution (Python):
import decimal


def main():
    a, b = input().split()
    a = decimal.Decimal(a)
    b = decimal.Decimal(b)
    print(int(a*b))


if __name__ == '__main__':
    main()

Solution (Python):
import numpy as np
import scipy.sparse as sps
import scipy.misc as spm
import collections as col
import functools as func
import itertools as ite
import fractions as frac
import math as ma
import cmath as cma
import copy as cp
import sys
def sinput(): return sys.stdin.readline().strip()
def iinput(): return int(sinput())
def imap(): return map(int, sinput().split())
def fmap(): return map(float, sinput().split())
def iarr(n=0):
    if n: return [0 for _ in range(n)]
    else: return list(imap())
def farr(): return list(fmap())
def sarr(n=0):
    if n: return ["" for _ in range(n)]
    else: return sinput().split()
def barr(n): return [False for _ in range(n)]
sys.setrecursionlimit(10**7)
MOD = 10**9 + 7; EPS = sys.float_info.epsilon
PI = np.pi; EXP = np.e; INF = np.inf

import decimal as dec

a,b = sarr()
a,b = dec.Decimal(a), dec.Decimal(b)
ans = int(a*b)
print(ans)

Solution (Python):
def main():
    a, b = input().split()
    a = int(a)
    b = int(b[:-3]+b[-2:])
    print((a * b) // 100)


if __name__ == '__main__':
    main()

Solution (Python):
a,b = input().split()
print((int(a)*int(b[0]+b[2::]))//100)

Solution (Python):
import math

a,b=input().split()
a=int(a)
bb=""
for i in b:
    if i!=".":
        bb = bb+i
b=int(bb)
print(math.floor(a*b//100))

Solution (Python):



















a,b = input().split()

a = int(a)
b = int(b.replace(".",""))

print(int(a*b//100))

Solution (Python):
A,B = input().split()
a = int(A)
b = int(B.replace(".",""))

ans = a*b//100
print(ans)

Solution (Python):
a, b = input().split()
a = int(a)
b = float(b) 

c = a * round(b * 100) // 100

print(c)

Solution (Python):
a,b = input().split()
a = int(a)
b = float(b)
ab = a * round(b*100)//100
print(int(ab))

Solution (Python):
A,B = input().split()
A = int(A)
B = round(float(B)*100)

print(int(A*B//100))

Solution (Python):
a, b = input().split(" ")
A, B = int(a), float(b)
B100 = round(B * 100)
C = A * B100
ans = C // 100
print(ans)

Solution (Python):
A,B = map(str,input().split())
A = int(A)
B = int(B.replace(".",""))
ans = A*B//100
print(ans)

Solution (Python):
import math

def main():
    a, b = input().split()
    a = int(a)
    if not '.' in b:
        b = int(b) * 100
    elif b[-2] == '.':
        b = int(b.replace('.','') + '0')
    else:
        b = int(b.replace('.',''))

    ans = a * b
    ans = str(ans)[:-2]
    
    print(ans if ans else 0)

if __name__ == '__main__':
    main()

Solution (Python):
a,b=input().split()
c = int(a)
d = int(b[0])*100 + int(b[2:4])
print(c*d//100)

Solution (Python):
from math import floor
from decimal import Decimal
a, b = input().split()
a = int(a)
b = Decimal(b)
print(floor(a * b))

Solution (Python):

import sys


def solve(A: int, B: int):
    print(A * B // 100)
    return



def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word

    tokens = iterate_tokens()
    A = int(next(tokens))  
    B = next(tokens)
    b = int(B.replace(".", ""))
    solve(A, b)


if __name__ == "__main__":
    main()

Solution (Python):
a,b=map(str, input().split())
A=int(a)
B=int(b.replace(".",""))

print(A*B//100)

Solution (Python):
import decimal

A, B = input().split()
A = int(A)
B = decimal.Decimal(B)
C = A * B
C = int(C)
print(C)

Solution (Python):


import math, decimal
A, B = input().split()
print(math.floor(int(A) * decimal.Decimal(B)))

Solution (Python):
a,b=input().split()
a=int(a)
c=""
for i in range(len(b)):
    if not b[i]==".":
        c+=b[i]
b=int(c)
ans=int(a*b)
ans=int(ans//100)
print(ans)

Solution (Python):
a, b = input().split()
a = int(a)
b = int("".join(b.split('.')))
print(a * b // 100)

Solution (Python):
import decimal

slist =  input().split()
a = int(slist[0])
b = decimal.Decimal(slist[1])
print(int(a*b))

Solution (Python):
A, B = input().split()
A = int(A)
x,y = B.split('.')
B = 100*int(x)+int(y)

print(A*B//100)

Solution (Python):
n, m = input().split()
n = int(n)
a, b = map(int, m.split('.'))
m = a*100 + b
print((n*m)//100)

Solution (Python):
def main():
    A, B = input().split()
    A = int(A)
    B1, B2 = map(int, B.split('.'))
    B = B1 * 100 + B2
    ans = A * B // 100
    print(ans)

if __name__ == '__main__':
    main()

Solution (Python):

A,B = input().split()
A = int(A)
B = int(B[0]+B[2:])
print(A*B//100)

Solution (Python):
a, b = map(str, input().split())
a = int(a)
cm = 0
for i in range(len(b)):
    if b[i] == '.':
        cm = len(b[i+1:])
        b = b[:i] + b[i+1:]
        break

b = int(b)

c = str(a * b)
ans = c[:-cm]
if not ans:
    print(0)
else:
    print(ans)

Solution (Python):
A,B=input().split()
A=int(A)
B=B.replace(".","")
print(A*int(B)//100)

Solution (Python):
a, b = map(str, open(0).read().split())
print(int(a)*int(b[:-3]+b[-2:]) // 100)

Solution (Python):
a,b = input().split(" ")
a = int(a)
b = int(b[0]+b[2:])
print(a*b//100)

Solution (Python):
from decimal import Decimal
A,B =input().strip().split()


a =Decimal(A)
b =Decimal(B)
ans =int(a*b)

print(ans)

Solution (Python):


A, B = input().split()
A = int(A)
B = int(B.replace(".", ""))
res = A * B // 100
print(res)

Solution (Python):
a,b = input().split()
a = int(a)
b = int(b.replace('.',''))
print(a*b//100)

Solution (Python):
import sys
import math
from collections import defaultdict
from bisect import bisect_left, bisect_right

sys.setrecursionlimit(10**7)
def input():
    return sys.stdin.readline()[:-1]

mod = 10**9 + 7

def I(): return int(input())
def LI(): return list(map(int, input().split()))
def LIR(row,col):
    if row <= 0:
        return [[] for _ in range(col)]
    elif col == 1:
        return [I() for _ in range(row)]
    else:
        read_all = [LI() for _ in range(row)]
        return map(list, zip(*read_all))



from decimal import getcontext,Decimal
getcontext().prec = 28

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

print(int(A*B))

Solution (Python):
from decimal import Decimal

A, B = map(float, input().split())
ans = int(int(A)*Decimal(str(B)))
print(ans)

Solution (Python):
A,B = [i for i in input().split()]
B = list(B)
B.pop(1)
A = int(A)
B = [int(i) for i in B]
print((100*A*B[0] + 10*A*B[1] + A*B[2])//100)

Solution (Python):
from math import floor
from fractions import Fraction
a, b = input().split()
a = int(a)
b = Fraction(b)
print(floor(a * b))

Solution (Python):
from decimal import Decimal
A, B = map(Decimal, input().split())

print(int(A*B))

Solution (Python):
a, b = input().split()
a, b_100 = int(a), int(b.replace('.', ''))
print(a * b_100 // 100)

Solution (Python):
a, b = input().split()
print(int(a) * round(float(b) * 100) // 100)

Solution (Python):
import sys
input = sys.stdin.readline

if __name__ == "__main__":
    a,b = input().split()
    print(int(a) * round(float(b)*100)//100)

Solution (Python):
import sys
input = sys.stdin.readline

if __name__ == "__main__":
    a,b = input().split()
    ai = int(a)
    bf = round(float(b)*100)
    print(ai*bf//100)

Solution (Python):
a, b = input().split()
a = int(a)
b = int(float(b) * 100 + 0.1)
print(int(a * b) // 100)

Solution (Python):
[a,b] = list(map(str,input().split()))
b = b[:1] + b[2:]
print((int(a)*int(b))//100)

Solution (Python):
from decimal import Decimal
a,b= map(Decimal,input().split())
print(int(a*b))

Solution (Python):
import math

A, B = input().split()
A = int(A)
Bc, Bp = map(int, B.split("."))
print(A*Bc + A*Bp//100)

Solution (Python):
a, b = map(str, open(0).read().split())
print(int(a)*int(b[:-3]+b[-2:]) // 100)

Solution (Python):
import sys
input=sys.stdin.readline
sys.setrecursionlimit(10 ** 8)
from itertools import accumulate
from itertools import permutations
from itertools import combinations
from collections import defaultdict
from collections import Counter
import fractions
import math
from collections import deque
from bisect import bisect_left
from bisect import insort_left
import itertools
from heapq import heapify
from heapq import heappop
from heapq import heappush
import heapq
from copy import deepcopy
from decimal import Decimal
alf = list("abcdefghijklmnopqrstuvwxyz")
ALF = list("ABCDEFGHIJKLMNOPQRSTUVWXYZ")

INF = float("inf")











A,B = map(Decimal,input().split())
if round(A) == 0 or B <= 0.005:
    print(0)
else:
    print(math.floor(A*B))

Solution (Python):
import sys
input=sys.stdin.readline
sys.setrecursionlimit(10 ** 8)
from itertools import accumulate
from itertools import permutations
from itertools import combinations
from collections import defaultdict
from collections import Counter
import fractions
import math
from collections import deque
from bisect import bisect_left
from bisect import insort_left
import itertools
from heapq import heapify
from heapq import heappop
from heapq import heappush
import heapq
from copy import deepcopy
alf = list("abcdefghijklmnopqrstuvwxyz")
ALF = list("ABCDEFGHIJKLMNOPQRSTUVWXYZ")

INF = float("inf")











A,B = map(float,input().split())
if math.floor(A) == 0 or B <= 0.005:
    print(0)
else:
    A = int(A)
    B *= 100.0
    B = round(B)
    c = A*B
    c = round(c)
    print(c // 100)

Solution (Python):
from decimal import *
input = input()
A = Decimal(input.split()[0])
B = Decimal(input.split()[1])

print (int(A*B))

Solution (Python):


a, b = map(str, input().split())
b = b[:-3] + b[-2:]

print(int(a)*int(b) // 100)

Solution (Python):
a, b = map(str, input().split())
b = b[:-3] + b[-2:]
print(int(a)*int(b) // 100)

Solution (Python):
import sys
import math
from decimal import Decimal, ROUND_HALF_UP, ROUND_HALF_EVEN
from collections import deque
from bisect import bisect_left
from itertools import product
def I(): return int(sys.stdin.readline())
def MI(): return map(int, sys.stdin.readline().split())
def LI(): return list(map(int, sys.stdin.readline().split()))
def LI2(N): return [list(map(int, sys.stdin.readline().split())) for i in range(N)]

def LSI(): return list(map(int, list(sys.stdin.readline().rstrip())))
def LSI2(N): return [list(map(int, list(sys.stdin.readline().rstrip()))) for i in range(N)]

def ST(): return sys.stdin.readline().rstrip()
def LST(): return sys.stdin.readline().rstrip().split()
def LST2(N): return [sys.stdin.readline().rstrip().split() for i in range(N)]
def FILL(i,h): return [i for j in range(h)]
def FILL2(i,h,w): return [FILL(i,w) for j in range(h)]
def FILL3(i,h,w,d): return [FILL2(i,w,d) for j in range(h)]
def FILL4(i,h,w,d,d2): return [FILL3(i,w,d,d2) for j in range(h)]
def sisha(num,digit): return Decimal(str(num)).quantize(Decimal(digit),rounding=ROUND_HALF_UP)

MOD = 1000000007
INF = float("inf")
sys.setrecursionlimit(10**6+10)

A,B = list(map(float,input().split()))
B = int(B*100+0.1)
A = int(A)
ans = A*B//100
print(ans)

Solution (Python):
a, b = input().split()
a = int(a)
bint, bdec = map(int, b.split('.'))

b = 100*bint + bdec
print((a*b)//100)

Solution (Python):
from decimal import Decimal
a, b = map(Decimal, input().split())

print(int(a*b))

Solution (Python):
A, B = input().split()

B = B.split(".")

print(int(A) * int(B[0]) + int(A) * int(B[1]) // 100)

Solution (Python):
a,b = map(str, input().split())
a = int(a)
b = int(b.replace('.',''))
print(a*b//100)

Solution (Python):
a, b = input().split()
a, b = int(a), b.replace('.','')
b = int(b[0])*100 + int(b[1])*10 + int(b[2])*1
print(a*b//100)

Solution (Python):
a, b = input().split()
a, b = int(a), int(b.replace('.',''))
print(a*b//100)

Solution (Python):
a, b = input().split()
a = int(a)

b = int(b[0])*100 + int(b[2])*10 + int(b[3])*1

ans = (a * b)//100
print(ans)

Solution (Python):
import math
import sys
def input():
    return sys.stdin.readline().rstrip('\n')


def calc(A, B):
    V = A % 100
    U = A // 100
    return U * B + V * B // 100
    

S = input().split()
A = int(S[0])
B = int(S[1].replace('.', ''))
print(calc(A, B))

Solution (Python):
a,b=map(str, input().split())
A = int(a)
B = 100*int(b[0])+10*int(b[2])+ 1*int(b[3])
ans = A*B // 100
print(ans)

Solution (Python):
a,b=input().split()
a=int(a)
b=100*int(b[0])+10*int(b[2])+1*int(b[3])
print((a*b)//100)

Solution (Python):
from sys import setrecursionlimit, exit
setrecursionlimit(1000000000)

from fractions import Fraction

def main():
    a, b = input().split()
    a = int(a)
    b = Fraction(b)
    print(int(a * b))

main()

Solution (Python):
from math import floor
from fractions import Fraction

def main():
    a, b = input().split()
    a = int(a)
    b = Fraction(b)
    print(floor(a * b))

main()

Solution (Python):
from sys import setrecursionlimit, exit
setrecursionlimit(1000000000)

import re

def main():
    ipt = re.split('[ .]', input())
    a = int(ipt[0])
    b = int(ipt[1]) * 100 + int(ipt[2])
    print(a * b // 100)

main()

Solution (Python):
from decimal import *
input = input()
A = Decimal(input.split()[0])
B = Decimal(input.split()[1])
result = int(Decimal(str(A*int(B*100))).quantize(Decimal('1E2'), rounding=ROUND_DOWN) * Decimal(0.01))
print (result)

Solution (Python):
import sys
stdin = sys.stdin
sys.setrecursionlimit(10**6)
ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
nn = lambda: list(stdin.readline().split())
ns = lambda: stdin.readline().rstrip()

import math

a,b = nn()
c,d = b.split('.')
a,b = int(a),int(c)*100+int(d)

print(a*b//100)

Solution (Python):
a,b=input().split()
a=int(a)
b=int(b.replace(".",""))
print(a*b//100)

Solution (Python):
A, B = map(str, input().split())
A = int(A)
B = B.replace('.','')
while len(B) < 3:
  B = B + '0'

B = int(B)
print(A*B//100)

Solution (Python):
from decimal import *

a, b = input().split()
x = Decimal(a)
y = Decimal(b)

print(int(x*y))

Solution (Python):
import math
a,b=input().split()
a=int(a)
b= int(b.replace(".",""))
print(a*b//100)

Solution (Python):
import math
a,b=input().split()
a=int(a)
b=int(b.replace(".",""))
print(a*b//100)

Solution (Python):
A, B = input().split()
A, B = int(A), int(B.replace('.', ''))
print(A * B // 100)

Solution (Python):
from decimal import Decimal
a, b = map(Decimal, input().split())
print(int(Decimal(a*b)))

Solution (Python):
import math
from decimal import Decimal,  getcontext

A, B = input().split()
a = int(A)
b = Decimal(B)
print(math.floor(a*b))

Solution (Python):
import math

a,b = input().split()

a = int(a)

n1 = int(b[0])
n2 = int(b[2])
n3 = int(b[3])

resposta = ((a * n1 * 100) + (a * n2 * 10) + (a *n3))//100

print(resposta)

Solution (Python):
i = list(input().split())
a = int(i[0]);
b = int(i[1][:1] + i[1][2:])
print(a*b // 100)

Solution (Python):
s = list(input().split())
a = int(s[0]);
b = int(s[1][:1]+s[1][2:])
print(a*b//100)

Solution (Python):
from math import floor
from fractions import Fraction
a, b = input().split()
a = int(a)
b = Fraction(b)
print(int(a * b))

Solution (Python):
from math import floor
from fractions import Fraction
a, b = input().split()
a = int(a)
b = Fraction(b)
print(floor(a * b))

Solution (Python):
from decimal import Decimal

A,B = map(Decimal, input().split())

print(int(Decimal(A*B)))

Solution (Python):
A, B = input().split()
A = int(A)

B = float(B)
B = int(B * 100 + 2 ** (-6))
ans = A * B // 100
print(ans)

Solution (Python):
A, B = input().split()
A = int(A)
B = int(B.replace('.', ''))
ans = A * B // 100
print(ans)

Solution (Python):
import sys
readline = sys.stdin.readline

from fractions import Fraction
A,B = readline().split()
A = int(A)
B = Fraction(B)

print(int(A * B))

Solution (Python):
from math import floor
from decimal import Decimal
a, b = input().split()
a = int(a)
b = Decimal(b)
print(floor(a * b))

Solution (Python):
import sys
readline = sys.stdin.readline

A,B = readline().split()
A = int(A)
B = round(float(B) * 100)

print(A * B // 100)

Solution (Python):
import sys
readline = sys.stdin.readline

A,B = readline().split()
A = int(A)
B = int(float(B) * 100 + 0.5)

print(A * B // 100)

Solution (Python):
li = input().split()
x = li[0]
x = int(x)
y = li[1]
y = y.replace('.','')
y = int(y)
print(x*y//100)

Solution (Python):
from math import floor
from decimal import Decimal
A,B=input().split()
A=int(A)
B=Decimal(B)
print(int(A*B))

Solution (Python):
from math import floor
from decimal import Decimal
A,B=input().split()
A=int(A)
B=Decimal(B)
print(floor(A*B))

Solution (Python):
import math
from decimal import Decimal
a,b =map(str,input().split())
print(math.floor(Decimal(a)*Decimal(b)))

Solution (Python):
from decimal import Decimal
import math
a,b = map(Decimal,input().split())

print(math.floor(a * b))

Solution (Python):
from decimal import Decimal

a, b  = map(float, input().split())
a = Decimal(str(a))
b = Decimal(str(b))

print(int(a*b))

Solution (Python):
from decimal import Decimal
a, b = map(Decimal, input().split())
print(int(a*b))

Solution (Python):
import decimal
A, B = input().split()
A = decimal.Decimal(A)
B = decimal.Decimal(B)

print(int(A * B))

Solution (Python):
A, B = input().split()

A = int(A)

B = float(B)
B *= 100
B = round(B)

print(int(A * B // 100))

Solution (Python):
from decimal import Decimal

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

print(int(Decimal(a)*Decimal(b)))

Solution (Python):
from decimal import Decimal

a, b = map(Decimal, input().split())

print(int(Decimal(a*b)))

Solution (Python):
def solve():
    A, B = input().split()
    A = int(A)
    B = float(B)
    hundB = round(100*B)
    print(int(A*hundB//100))


if __name__ == '__main__':
    solve()

Solution (Python):
from decimal import Decimal

A, B = map(Decimal, input().split())

print(int(A * B))

Solution (Python):
from decimal import Decimal


AB = list(map(Decimal, input().split()))

result = int((AB[0] * AB[1]))
print(result)