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):
def multiply(num1, num2): 
    len1 = len(num1) 
    len2 = len(num2) 
    if len1 == 0 or len2 == 0: 
        return "0"
  
    
    
    result = [0] * (len1 + len2) 
      
    
    
    i_n1 = 0
    i_n2 = 0
  
    
    for i in range(len1 - 1, -1, -1): 
        carry = 0
        n1 = ord(num1[i]) - 48
  
        
        
        i_n2 = 0
  
        
        for j in range(len2 - 1, -1, -1): 
              
            
            n2 = ord(num2[j]) - 48
          
            
            
            
            summ = n1 * n2 + result[i_n1 + i_n2] + carry 
  
            
            carry = summ // 10
  
            
            result[i_n1 + i_n2] = summ % 10
  
            i_n2 += 1
  
            
        if (carry > 0): 
            result[i_n1 + i_n2] += carry 
  
            
            
        i_n1 += 1
          
        
  
    
    i = len(result) - 1
    while (i >= 0 and result[i] == 0): 
        i -= 1
  
    
    
    if (i == -1): 
        return "0"
  
    
    s = "" 
    while (i >= 0): 
        s += chr(result[i] + 48) 
        i -= 1
  
    return s 
  

str1, str2 = input().split()
str2 = str2.replace(".", "")


if((str1[0] == '-' or str2[0] == '-') and 
   (str1[0] != '-' or str2[0] != '-')): 
    print("-", end = '') 
  
  
if(str1[0] == '-' and str2[0] != '-'): 
    str1 = str1[1:] 
elif(str1[0] != '-' and str2[0] == '-'): 
    str2 = str2[1:] 
elif(str1[0] == '-' and str2[0] == '-'): 
    str1 = str1[1:] 
    str2 = str2[1:]
res = multiply(str1, str2)
if len(res)>2:
    print(multiply(str1, str2)[:-2]) 
else:
    print(0)

Solution (Python):
x,y=map(float,input().split())
x=int(x)
y1=int(round(y*100))
print((x*y1//100))

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

Solution (Python):


import sys
input = sys.stdin.readline
from decimal import Decimal

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

main()

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

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

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

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

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



print(int(A * B))

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

a = int(a)
b = int(round(float(b) * 100))

print(a*b//100)

Solution (Python):
import math
import numpy as np


X = list(input().split())
A = int(X[0])
B = float(X[1])



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

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

Solution (Python):
a, b = input().split()
b = b.replace('.', '')
p = str(int(a)*int(b))[:-2]
if len(p) < 1:
  p = 0
print(p)

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

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

Solution (Python):
def ii():return int(input())
def iim():return map(int,input().split())
def iil():return list(map(int,input().split()))
a,b = map(str,input().split())
a = int(a)
bint,bdec = b.split('.')
bint = int(bint)
bdec = int(bdec)
ans = a*bint+(a*bdec//100)
print(ans)

Solution (Python):
import sys
import decimal
input = sys.stdin.readline
def ii(): return int(input())
def mi(): return map(int, input().rstrip().split())
def lmi(): return list(map(int, input().rstrip().split()))
def li(): return list(input().rstrip())
def debug(*args, sep=" ", end="\n"): print("debug:", *args, file=sys.stderr, sep=sep, end=end) if not __debug__ else None
def exit(*arg): print(*arg); sys.exit()


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

if __name__ == "__main__":
    main()

Solution (Python):

import numpy as np
import math

A, B = input().split()
A = int(A)
B_float = float(B)
B_int = int(B[0]+B[2:])
if B_float < 1:
    B_float = B_float*100
    C = A*B_float/100
    
    print("{}".format(int(C)))
elif not A==0:
    C = A*B_int
    C_str = str(C)
    
    print("{}".format(int(C_str[:-2])))
elif A==0:
    print("{}".format(0))

Solution (Python):
import decimal
A, B = input().split()
A = decimal.Decimal(A)
B = decimal.Decimal(B) * 100
print(decimal.Decimal(A * B // 100))

Solution (Python):
import decimal
A, B = input().split()
A = decimal.Decimal(A)
B = decimal.Decimal(B) * decimal.Decimal(100)
print(decimal.Decimal(A * B // decimal.Decimal(100)))

Solution (Python):
import sys
readline = sys.stdin.readline
 
(a, b) = readline().split()
 
ans = int(a) * int(round(float(b) * 100))
 
print(ans//100)

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

a = int(a)
b = b[0] + b[2:]
b = int(b)

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

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

a = int(A)
b = int(B[0])
b2 = int(B[2:4])





t = a*b


bb = a*b2
tmp = bb//100


bef = tmp+t
ans = str(bef)

print(ans)

Solution (Python):



import sys
from math import sqrt
from decimal import Decimal

input = sys.stdin.readline

def inp():
    return(int(input()))
def inlt():
    return(list(map(int,input().split())))
def insr():
    s = input()
    return(list(s[:len(s) - 1]))
def invr():
    return(map(int,input().split()))

AB = input().split()
a = Decimal(AB[0])
b = Decimal(AB[1])
res = (a*b).__trunc__()
print(res)

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

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

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

if __name__ == '__main__':
    main()

Solution (Python):
S = input().split()
A = int(S[0])
B = float(S[1])

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

Solution (Python):
A, B = [x for x in input().split()]

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

print(A*B // 100)

Solution (Python):



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


if __name__ == "__main__":
    main()

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

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

Solution (Python):
from decimal import Decimal, ROUND_DOWN

a, b = map(Decimal, input().split())
ans = a * b
ans = ans.to_integral_value(rounding=ROUND_DOWN)
print(ans)

Solution (Python):
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
from decimal import Decimal 
from math import floor
def main():
    a, b = map(Decimal, input().split())
    ans = a*b
    print(floor(ans))
if __name__ == '__main__':
    main()

Solution (Python):
from decimal import Decimal

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

print((a*b)//1)

Solution (Python):
from decimal import Decimal

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

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

Solution (Python):
from decimal import *

getcontext().prec = 20
 
N = list(map(str, input().split()))
A = Decimal(N[0])
B = Decimal(N[1])
  
print(int(A*B))

Solution (Python):
import sys
a,b =  sys.stdin.readline().rstrip().split(" ")


B =b.split(".")

ans = int(a)*(int(B[0])*100+int(B[1]))
print(ans//100)

Solution (Python):
from decimal import Decimal

a,b = input().split()

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

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

if "." in B:
    keta = (len(B) - B.index(".") - 1)
    B_fix = int(B.replace(".",""))
    print(A * B_fix // (10**keta))
else:
    print(A * B)

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

Solution (Python):
from decimal import Decimal

inputs = list(map(lambda x:Decimal(x), input().split()))
multiple = inputs[0] * inputs[1]

multiple_str = str(multiple)
if '.' in multiple_str:
    ans = int(multiple_str.split('.')[0])
else:
    ans = int(multiple_str)

print(ans)

Solution (Python):
from decimal import Decimal

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

Solution (Python):

from decimal import Decimal

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

print(a*b//1)

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

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

c = a*b // 100

print(c)

Solution (Python):
from decimal import Decimal

a, b = input().split()
a_deci = Decimal(a)
b_deci = Decimal(b)

ans = (a_deci * b_deci) // 1
print(ans)

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

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

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

Solution (Python):
a,x=input().split()
a=int(a)
b,c=map(int,x.split('.'))
b=b*100+c
print((a*b)//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


def main_v1():
    A, B = input().split()
    A = int(A)
    B = Decimal(B)
    print(int(A * B))


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


if __name__ == "__main__":
    main_v2()

Solution (Python):
from heapq import heappush, heappop, heapify
from collections import deque, defaultdict, Counter
import itertools
from itertools import permutations, combinations, accumulate, product, combinations_with_replacement
import sys
import bisect
import string
import math
import time
from decimal import *


def I(): return int(input())
def S(): return input()
def MI(): return map(int, input().split())
def MS(): return map(str, input().split())
def LI(): return [int(i) for i in input().split()]
def LI_(): return [int(i)-1 for i in input().split()]
def StoI(): return [ord(i)-97 for i in input()]
def ItoS(nn): return chr(nn+97)
def input(): return sys.stdin.readline().rstrip()
def list2d(a, b, c): return [[c] * b for i in range(a)]
def list3d(a, b, c, d): return [[[d] * c for j in range(b)] for i in range(a)]
def list4d(a, b, c, d, e): return [[[[e] * d for j in range(c)] for j in range(b)] for i in range(a)]
def print_matrix(mat):
    for i in range(len(mat)):
        print(*['IINF' if v == IINF else "{:0=4}".format(v) for v in mat[i]])


yn = {False: 'No', True: 'Yes'}
YN = {False: 'NO', True: 'YES'}
MOD = 10**9+7
inf = float('inf')
IINF = 10**19
l_alp = string.ascii_lowercase
u_alp = string.ascii_uppercase
ts = time.time()
sys.setrecursionlimit(10**6)
nums = ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10']
show_flg = False



def main():
    A, B = MS()
    getcontext().prec = 28

    a = Decimal(A) * Decimal(B)

    print(a.quantize(Decimal('0'), rounding=ROUND_DOWN))


if __name__ == '__main__':
    main()

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

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

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

Solution (Python):
import math
from decimal import Decimal

A, B = input("").split()
A = int(A)
k = int(B[0]) * 100
k = k + int(B[2]) * 10
k = k + int(B[3])

result = Decimal(A*k) / Decimal(100)
result = math.trunc(result)

print(result)

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

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

Solution (Python):
from decimal import Decimal


def main_v1():
    A, B = input().split()
    A = int(A)
    B = Decimal(B)
    print(int(A * B))


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


if __name__ == "__main__":
    main_v1()

Solution (Python):

 
import sys
import math
from bisect import bisect_right as br
from bisect import bisect_left as bl
from collections import defaultdict
from itertools import accumulate
from collections import Counter
from collections import deque
from operator import itemgetter
from itertools import permutations
mod = 10**9 + 7
inf = float('inf')
def I(): return int(sys.stdin.readline())
def LI(): return list(map(int,sys.stdin.readline().split()))

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

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

Solution (Python):
re = input().split()
a = int(re[0])
b = re[1]

c = int(b[0])
d = int(b[2] + b[3])
e = a * c
f = a * d
g = f // 100
h = e + g
print(h)

Solution (Python):
from decimal import Decimal

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

Solution (Python):

from collections import defaultdict
con = 10 ** 9 + 7; INF = float("inf")
from decimal import Decimal

def getlist():
	return list(map(int, input().split()))


def main():
	A, B = list(input().split())
	A = int(A)
	B = Decimal(B)
	ans = (int(A * B // 1))
	print(ans)





if __name__ == '__main__':
	main()

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

a = Decimal(a)
b = Decimal(b)

print(int(a*b))

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

Solution (Python):
import math

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

a = int(a)

b1,b2 = b.split('.')

b1 = int(b1)
b2 = int(b2)

ans = a*(b1*100+b2)//100

print(ans)

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

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

a = Decimal(a)
b = Decimal(b)

print(int(a*b))

Solution (Python):
import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians, gcd
from itertools import accumulate, permutations, combinations, product, groupby, combinations_with_replacement
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from bisect import bisect, bisect_left
from heapq import heappush, heappop
from functools import reduce
from decimal import Decimal, ROUND_FLOOR

def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
def ZIP(n): return zip(*(MAP() for _ in range(n)))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

A, B = input().split()
A = Decimal(int(A))
B = Decimal(B)
C = A*B
print(C.quantize(Decimal("0"), rounding=ROUND_FLOOR))

Solution (Python):
import math
import collections
import fractions
import itertools
import decimal

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

if __name__ == "__main__":
    solve()

Solution (Python):
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

a, b = readline().decode().rstrip().split()

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

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])
ans = int(a * b // 100)

print(ans)

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):
A, B = input().split(' ')
print(int(A)*int(B[0]+B[2]+B[3])//100)

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

a = Decimal(str(a))
b = Decimal(str(b))

print(int(a*b))

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

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

Solution (Python):




a, b = input().split()


bint = int(b[0:len(b)-3])
bfloat = int(b[len(b)-2:len(b)])
ans = int(a) * (bint * 100 + bfloat) // 100


print(ans)

Solution (Python):
a,b=map(str,input().split())
a=int(a)
c=b[0]+b[2]+b[3]

ans = a * int(c) //100

print(ans)

Solution (Python):
a, b = input().split()
A =int(a)
B = int(b.replace('.', ''))
x = str(A*B)
if len(x) <= 2:
  print(0)
else:
  X = x[:-2]
  print(X)

Solution (Python):
from decimal import Decimal
a, b = map(str, input().split())
print(int(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):

a,b = raw_input().split(' ')

a = int(a)


b0,b1 = b.split('.') if '.' in b else [int(b), 0]
b0 = int(b0)
b1 = int(b1)

print a*b0 + a*b1/100

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

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

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

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

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

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

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

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)
C = int(B[0])*100 + int(B[2:])
print((A*C)//100)

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

import math
from decimal import *
a = Decimal(a)
b = Decimal(b)

print(math.floor(a * b))

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

Solution (Python):
A, B = map(int, input().replace('.', '').split())
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 = input().split()

print(int(A) * int(B.replace('.','')) // 100)

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

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

Solution (Python):
inputs = input().split(" ")
decimal = inputs[1].split(".")
product = int(inputs[0])*(int(decimal[0]+decimal[1]))
print(product//100)

Solution (Python):
A, B = open(0).read().split()

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

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

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

Solution (Python):
print(int((s:=input())[:-4])*int(s[-4]+s[-2:])//100)

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

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

print(
    int(a)*int(b.replace(".", ""))//100
)

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

if "." in B:
    C = B[:B.index(".")]+B[B.index(".")+1:]
    D = "".join(C)
    B = int(D)
else:
    D = "".join(C)
    B = int(D)


    
ans = (A*B)//100

print(ans)

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

Solution (Python):
import math
import re
a=input().split()

ia=int(a[0])

c=re.sub(r'\D','',a[1])


ib=int(c)

b=ia*ib//100

print(b)

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

Solution (Python):
from decimal import Decimal, ROUND_DOWN

a, b = input().split()
c = Decimal(a) * Decimal(b)

print(Decimal(c).quantize(1, rounding=ROUND_DOWN))

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

Solution (Python):
s,ss=input().split()

ss=ss.replace(".","")

i=int(s)

ii=int(ss)

print(i*ii//100)

Solution (Python):
import math
a, b = input().split()
a = int(a)
b = int(float(b) * 100 + 0.001)

print(a * b // 100)

Solution (Python):
a, b = map(float, input().split())
a = int(a)
b = int((b + 0.001) * 100)
print((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('.',''))

print(A*B // 100)

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

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

Solution (Python):
from decimal import Decimal
from sys import stdin
def LD(): return list(map(Decimal,stdin.readline().rstrip().split()))
 
tmp = LD()
ans = int(tmp[0]*tmp[1])
print(ans)

Solution (Python):
import sys

sys.setrecursionlimit(10 ** 6)
int1 = lambda x: int(x) - 1
p2D = lambda x: print(*x, sep="\n")
def II(): 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 LLI(rows_number): return [LI() for _ in range(rows_number)]
def SI(): return sys.stdin.readline()[:-1]

def main():
    a,b=SI().split()
    a=int(a)
    b1,b0=map(int,b.split("."))
    print(a*(b1*100+b0)//100)

main()

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 = round(float(B)*100)
 
print(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=int(B.replace(".",""))
print(A*B//100)

Solution (Python):
import sys 
import math
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
INF = 10 **18
A,B = read().split()

B = int(float(B)*100 + 0.5)
ans = int(A)*B
print(ans//100)

Solution (Python):

from decimal import *
A,B = map(Decimal,input().split())

print(int(A*B))

Solution (Python):
from decimal import Decimal

def main():
    A, B = input().split()
    A = Decimal(A)
    B = Decimal(B)
    print(int(A * B))

if __name__ == '__main__':
    main()

Solution (Python):
from decimal import Decimal
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):
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 = input().split()
a = int(a)
b = Decimal(b)
print (int(a*b))

Solution (Python):
from decimal import Decimal


def main():
    A, B = map(Decimal, input().split())

    print(int(A*B))


if __name__ == "__main__":
    main()

Solution (Python):
from decimal import Decimal


def main():
    A, B = map(Decimal, input().split())

    print(int(A*B))


if __name__ == "__main__":
    main()

Solution (Python):
line = input()
line = line.split()
a = int(line[0])
b = float(line[1]) + 0.001
c = int(b * 100)
print((a * c) // 100)

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

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

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

Solution (Python):
s=input();print(int(s[:-4])*int(s[-4]+s[-2:])//100)

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

Solution (Python):
import sys
import decimal
def input():
    return sys.stdin.readline().strip()
 
def main():
    A, B = input().split()
    A = decimal.Decimal(A)
    B = decimal.Decimal(B)
    print(int(A*B))
 
 
main()

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

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

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

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

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

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

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

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

print(floor(a*b))

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

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

Solution (Python):
from decimal import Decimal

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

print(a*b//1)

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

Solution (Python):
A = input().split()
a = int(A[0])
b = int(A[1].replace(".", ""))
print(0 if str(a*b)[:-2] == '' else str(a*b)[:-2])

Solution (Python):


import sys
import math
import numpy as np
int1 = lambda x: int(x) - 1
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(500000)

A, B = readline().decode().rstrip().split()
A = int(A)
B = 100 * int(B[0]) + 10 * int(B[2]) + int(B[3])

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):
s=input();print(int(s[:-4])*int(s[-4]+s[-2:])//100)

Solution (Python):
print((lambda a:a[0]*a[1]//100)(list(map(int,input().replace(".", "").split()))))

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

Solution (Python):
a,b = [i for i in input().split()]

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

print(a * b //100)

Solution (Python):
import sys
import math
import heapq
sys.setrecursionlimit(10**7)
INTMAX = 9223372036854775807
INTMIN = -9223372036854775808
DVSR = 1000000007
def POW(x, y): return pow(x, y, DVSR)
def INV(x, m=DVSR): return pow(x, m - 2, m)
def DIV(x, y, m=DVSR): return (x * INV(y, m)) % m
def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def II(): return int(sys.stdin.readline())
def FLIST(n):
    res = [1]
    for i in range(1, n+1): res.append(res[i-1]*i%DVSR)
    return res

A,B=input().split()
AA=int(A)
BB=int(B[0])*100 + int(B[2])*10 + int(B[3])
 
print((AA*BB)//100)

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

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

Solution (Python):
a, b = input().split()
b1, b2 = b.split('.')
a = int(a)
b1 = int(b1)
b2 = int(b2)
c = int(('{:0=3}'.format(a * b2))[:-2])
print(a * b1 +c)

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

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

Solution (Python):
from decimal import Decimal

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

print(int(a*b))

Solution (Python):
import sys
sys.setrecursionlimit(10**8)
def ii(): 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 dp2(ini, i, j): return [[ini]*i for i2 in range(j)]
def dp3(ini, i, j, k): return [[[ini]*i for i2 in range(j)] for i3 in range(k)]







from decimal import Decimal
'''
A, B = map(str, sys.stdin.readline().split())
A = Decimal(A)
B = Decimal(B)
print(A * B//1)
'''

'''
四捨五入で誤差の影響をなくす
A, B = map(str, sys.stdin.readline().split())
A = int(A)
B = int(round(float(B)*100))
print(A*B//100)
'''

'''

A, B = map(str, sys.stdin.readline().split())
A = int(A)
B = int(float(B)*100+0.1)
print(A*B//100)
'''



A, B = map(str, sys.stdin.readline().split())
A = int(A)
if B[0] == '0':
    B = int(B[2:])
else:
    B = int(B.replace('.', ''))
print(A*B//100)

Solution (Python):
x,y = list(map(str,input().split()))
yy=y.replace(".","")
xy=str(int(x)*int(yy))
print(xy[:len(xy)-2] if len(xy)>2 else 0)

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

Solution (Python):
AB=input().split(" ")
A=int(AB[0])
B=int(AB[1].replace(".",""))

print(A*B//100)

Solution (Python):
S=input().split()
A=int(S[0])
B=int("".join(S[1].split(".")))


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

Solution (Python):
import sys
sys.setrecursionlimit(10**8)
def ii(): 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 dp2(ini, i, j): return [[ini]*i for i2 in range(j)]
def dp3(ini, i, j, k): return [[[ini]*i for i2 in range(j)] for i3 in range(k)]




import math
from decimal import Decimal
'''
A, B = map(str, sys.stdin.readline().split())
A = Decimal(A)
B = Decimal(B)
print(A * B//1)
'''
A, B = map(str, sys.stdin.readline().split())
A = int(A)
B = int(round(float(B)*100))
print(A*B//100)

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

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('.', ''))
print(a * b // 100)

Solution (Python):
from fractions import Fraction

A,B = input().split()



from decimal import *

a = Decimal(A)
b = Decimal(B)
getcontext().prec = 28
ans = a * b
print(int(ans))

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

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

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

Solution (Python):
import math
a,b=map(str,input().split())
a=int(a)
d=int(b[0])*100+int(b[2])*10+int(b[3])
c=(a*d)//100
if (c+1)*100<=(a*d):
  c+=1
print(c)

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

Solution (Python):
def c_multiplication_3():
    from decimal import Decimal
    A, B = [Decimal(i) for i in input().split()]
    return A * B // 1

print(c_multiplication_3())