peterverebics/CodeNet_Python_118 huggingface dataset:
a, b = input().split()
print(int(a) * round(float(b) * 100) // 100)
from decimal import Decimal

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

print(int(A*B))
def resolve():
    a, b = input().split()
    a = int(a)
    b = float(b)
    b = int(b*1000)
    print(int(a*b//1000))
resolve()
from decimal import Decimal
a, b = map(Decimal, input().split())
print(int(a * b))
A, B = input().split()
a = int(A)
if '.' in B:
    b, c = B.split('.')
    p = len(c)
    b = int(b) * 10 ** p + int(c)
else:
    b = int(B)
    p = 0

print(a * b // 10 ** p)
def main():
    ab = [_x for _x in input().split()]
    n = ab[1]
    bb = (int(n[0])*100 + int(n[2])*10 + int(n[3]))
    aa = int(ab[0])
    if aa == 0:
        print(0)
        return
    if bb == 0:
        print(0)
        return
    result = str(aa*bb)

    if len(result) <= 2:
        print(0)
    else:
        print(str(result)[:-2])


main()
a,b = map(float,input().split())
a = int(a)
b = round(float(b)*100)
print((a*b)//100)
A, B = input().split()
print(int(A) * round(float(B) * 100) // 100)
a,b=map(float,input().split())
a=int(a)
b=int((b+10**-8)*100)
print(a*b//100)
def main():
    A, B = input().split()
    A = int(A)
    B = float(B)
    B = int(B*100 + 0.5)
    result = str(A*B)[:-2] or '0'
    print(result)

if __name__ == '__main__':
    main()
a = input().split()
for i in range(2):
    a[i] = int(a[i]) if i == 0 else round(float(a[i])*100)
print(int(a[0] * a[1] // 100))
import math
import decimal

ab = input().split()
a = int(ab[0])
b = decimal.Decimal(ab[1])


print(math.floor(decimal.Decimal(a*b)))
A, B = input().split()
A = int(A)
C = int(B[0])*100 + int(B[2])*10 + int(B[3])
print(A*C//100)
a,b=input().split(' ',)
a=int(a)
b=int(b[0]+b[2:])
print(a*b//100)
from decimal import *

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

c = int(a * b)
print(c)
A, B = map(str, input().split())
A = int(A)
B = int(B.replace(".",""))
ans = A * B // 100

print(ans)
import math
from decimal import Decimal
A,B=list(input().split())
A = Decimal(A)
B = Decimal(B)
# print(A* B)
print(int(A  * B ))
import math
from decimal import Decimal

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

ANS = math.floor(A * B)
print(ANS)
from decimal import *

l=input().split(' ')
a=int(l[0])
b=Decimal(l[1])

print(int(Decimal(a*b)))
from sys import stdin
from decimal import Decimal
def main():
    #入力
    readline=stdin.readline
    li=readline().strip().split()
    a=Decimal(str(li[0]))
    b=Decimal(str(li[1]))
    ans=int(a*b)
    print(ans)

if __name__=="__main__":
    main()
from decimal import *

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


print(a*b // 1)
A, B = input().split()
A = int(A)
B = int(B[0]+B[2:])
C = A*B
D = str(C)[:-2]
if D == "":
    D = 0
else:
    D = int(D)
print(D)
a,b = map(str, input().split())

b1, b2 = map(str, b.split("."))
d = len(b2)

ans = int(a) * int(b1 + b2) // 10**d
print(ans)
a, b =	input().split()
a = int(a)
b = b.replace(".", "")
b = int(b)
print(a * b // 100)
import decimal
a,b =map(str,input().split())
a2 = decimal.Decimal(a)
b2 = decimal.Decimal(b)
print(int(a2*b2))
import sys
import decimal

a,b = input().split()
Da = decimal.Decimal(a)
Db = decimal.Decimal(b)
res = Da*Db

print(int(res))
a,b=input().split()
a=int(a)
b=int(b[0])*100+int(b[2])*10+int(b[3])
ans=a*b
print(int(ans//100))
# input
A, B = input().split()
A = int(A)
B, C = map(int, B.split('.'))
B = B*100

# output
print((A*(B+C))//100)
import decimal

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

A=decimal.Decimal(a)
B=decimal.Decimal(b)

print(decimal.Decimal(A*B).quantize(decimal.Decimal('1.'), rounding=decimal.ROUND_DOWN))
from math import floor
inp = input()
a, b = inp.split()
b += '00000001'
a = int(a)
b = float(b)
b100 = int(b * 100)
ans100 = a * b100
ans = ans100 // 100
print(ans)
from sys import stdin
from sys import setrecursionlimit
import math
setrecursionlimit(10 ** 7)

a,b = input().split()

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

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

print(int(a*b//1000))
import sys, math
input = sys.stdin.readline
rs = lambda: input().strip()
ri = lambda: int(input())
rl = lambda: list(map(int, input().split()))
mod = 10**9 + 7

s = rs()
A, B = s.split()
A = int(A)
B = int(B.replace('.',''))

print(A*B//100)
from decimal import Decimal

a,b = input().split(' ')
print(int(Decimal(a)*Decimal(b)))
A, B = input().split()
c = int(A) * round(float(B)*100)
ans = c // 100
print(int(ans))
import sys

readline = sys.stdin.readline
readall = sys.stdin.read
ns = lambda: readline().rstrip()
ni = lambda: int(readline().rstrip())
nm = lambda: map(int, readline().split())
nl = lambda: list(map(int, readline().split()))
prn = lambda x: print(*x, sep='\n')

a, b = input().split()
a = int(a)
p, q = map(int, b.split('.'))
res = a * p + a * q // 100
print(res)
from sys import stdin
import math
from decimal import Decimal

A, B = input().split(" ")
a = int(A)
b = Decimal(B)
print (math.floor(a*b))
a,b = input().split()
a = int(a)
b = b.replace('.','')
b = int(b)
answer = str(a*b)
if (len(answer) <=2):
  print(0)
else:
  print(answer[:-2])
a, b = map(str, input().split())
a = int(a)
c, d = map(int, b.split('.'))
b = c * 100 + d
b *= a
print(int(("00" + str(b))[:-2]))
import decimal

a, b = input().split()
print(int(decimal.Decimal(a)*decimal.Decimal(b)))
a,b = input().split()
c = int(a)
d = round(float(b)*100)
print(c*d//100)
numa, numb = input().strip().split()
numb = numb[:1]+numb[2:]
numa, numb = [int(numa),int(numb)]
ans = numa * numb
ans = str(ans)
if(len(ans)>2):
    print(ans[:-2])
else:
    print(0)
from decimal import *

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

a = Decimal(str(a))
b = Decimal(str(b))
b *= Decimal(str(100))
ans = a * b
ans //= Decimal(str(100))

print(ans)
import numpy as np 
A,B = map(str,input().split())
A = int(A)
B = int(B[0]+B[2]+B[3])
print(int(A*B//100))
a,b=input().split()
a=int(a)
b=int(b.replace(".",""))
print(a*b//100)
from math import floor
from decimal import Decimal
a, b = input().split()
a = int(a)
b = Decimal(b)
print(floor(a * b))
# -*- coding: utf-8 -*-

from decimal import Decimal

a, b = input().split()

print(int(Decimal(a)*Decimal(b)))
def main():
    A, B = input().split()
    A = int(A)
    B_big, B_small = B.split(".")
    B_big = int(B_big)
    B_small = int(B_small)
    print(A*B_big + A*B_small//100)
 
 
if __name__ == "__main__":
    main()
import math
from decimal import Decimal, ROUND_DOWN
A,B = map(str,input().split())
A = Decimal(A)
B = Decimal(B)

pro = str(A*B)

print(Decimal(str(pro)).quantize(Decimal('0'), rounding=ROUND_DOWN))
from math import floor
from decimal import Decimal


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


if __name__ == '__main__':
    main()
a, b = input().split()
a = int(a)
b = str(b).replace(".", "")
print(a * int(b) // 100)
import decimal
A,B = input().split()
A = decimal.Decimal(A)
B = decimal.Decimal(B)
print(int(A*B))
from decimal import Decimal
a,b=map(str, input().split())
A=Decimal(a)
B=Decimal(b)

print(int(A*B))

#b=int(B*100)
#ans100bai=A*b
#if len(str(ans100bai))>2:
#	print(str(ans100bai)[:-2])
#else:
#	print(0)

# 2darray [[0] * 4 for i in range(3)]
from decimal import Decimal
import math


def main():
    a, b = input().split()
    a = int(a)
    b = Decimal(b) # bは小数点以下第2位まで
    ans = math.floor(a * b)
    print(f'{ans}')


if __name__ == '__main__':
    main()
from decimal import Decimal

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

if __name__ == '__main__':
    main()
from decimal import Decimal,getcontext
A,B=input().split()
getcontext().rounding
print(int(Decimal(A)*Decimal(B)))
import math
from decimal import Decimal
A,B = input().split()
A = int(A)
B = Decimal(B)
print(int(A*B))
a, b = input().split()
print(int(a) * int(b[0] + b[2] + b[3]) // 100)
import math
from decimal import Decimal, ROUND_DOWN
def main():
    a,b = list(input().split())
    a = Decimal(a)
    b = Decimal(b)
    ans = a * b
    print(Decimal(ans).quantize(Decimal(1), rounding=ROUND_DOWN))

if __name__=='__main__':
    main()
from decimal import Decimal

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

print(int(a * b))
import math
from decimal import Decimal
a, b = map(float, input().split())
print(math.floor(Decimal(str(a))*Decimal(str(b))))
A, B = input().split()

import math, decimal
print(int(A) * int(B.replace('.', '')) // 100)
a,b = map(int,input().replace(".","").split())
print(a*b//100)
import decimal
a, b = (decimal.Decimal(x) for x in input().split())
print(int(a*b))
a,b = map(str, input().split())
a = int(a)
b = int(b[0]+b[2:])
print(int(a*b)//100)
A, B = input().split()
A = int(A)
C = int(B[0])*100 + int(B[2:])
print((A*C)//100)
import sys
from decimal import Decimal

read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 9)
INF = 1 << 60


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

    return


if __name__ == '__main__':
    main()
import math

line = input().rstrip()
line = line.split(' ')
A = int(line[0])
B = line[1].split('.')
if len(B) == 1:
    B = int(B[0]) * 100
elif len(B[1]) == 1:
    B = int(B[0]) * 100 + int(B[1]) * 10
else:
    B = int(B[0]) * 100 + int(B[1])

C = A * B // 100
print(C)
a,b = input().split()
a = int(a)
b = int(b[0] + b[2:])
print(a*b//100)
in_ = list(input().split())
A = int(in_[0])
B = int(in_[1].replace(".", ""))
ans = A * B
ans = ans // 100
print(ans)
from decimal import Decimal,ROUND_FLOOR
[A,B] = input().split()
A = Decimal(A)
B = Decimal(B)

print((A*B).quantize(Decimal('0'),rounding = ROUND_FLOOR))
import decimal

a, b = input().split()

a = int(a)
b = decimal.Decimal(b)

result = a * b

print(int(result))
a, b = input().split()
a = int(a)

b100 = int(b[0])*100 + int(b[2])*10 + int(b[3])
print(a * b100 // 100)
A,B = input().split()
A = int(A)
B = "".join(list(B.split(".")))
B = int(B)
print((A*B)//100)
import sys
readline = sys.stdin.buffer.readline
def even(n): return 1 if n%2==0 else 0
from decimal import *
getcontext().prec = 20 #小数点何桁か
a,b = readline().rstrip().decode('utf-8').split()
a = Decimal(a)
b = Decimal(b)
c = Decimal(a*b)
print(int(c))
from decimal import Decimal

a,b = map(str,input().split())
a = Decimal(a)
b = Decimal(b)
ans = (a*b)
print(int(ans))
a,b = input().split()
a = int(a)
b = int(b[0:-3] + b[-2:])
print(a * b // 100)
c=input("").split(" ")
a=int(c[0])

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

d=int(a*e)
s=str(d)
if (len(s)<3):
    f="0"
else:
    f=s[:len(s)-2]

print(f)
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)
import math
from decimal import Decimal 
a, b = map(str, input().split())
a=Decimal(a)
b=Decimal(b)
#print(b)
#print(a*b)
print(math.floor(a*b))
a,b = map(str,input().split())
b = b[0] + b[2:]
a,b = int(a),int(b)
print(a*b//100)
a, b = input().split()
a = int(a)
# b = int(float(b) * 100 +0.1)
b = int(b.replace(".", ""))
print(int(a*b) // 100)
import math
a,b = map(str, input().split())
a = int(a)
b = b.replace(".","")
if len(b) == 2:
    b = b + '0'
b = int(b)
ans = a*b
if len(str(ans)) <= 2:
    print(math.floor(ans/100))
else:
    print(int(str(ans)[:-2]))
print((lambda a:a[0]*a[1]//100)(list(map(int,input().replace(".", "").split()))))
from decimal import Decimal
a, b = input().split()

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

print(int(a*b))
from decimal import *
a,b = map(Decimal, input().split())
print(int(a*b))
import sys
import math
input = sys.stdin.readline
ins = lambda: input().rstrip()
ini = lambda: int(input().rstrip())
inm = lambda: map(float, input().split())
inl = lambda: list(map(int, input().split()))
out = lambda x: print('\n'.join(map(str, x)))

a, b = inm()
a = int(a)
b = int(b * 100 + 0.1)
print(a*b // 100)
A,B = input().split()

A = int(A)
B1,B2 = B.split(".")
answer = A * (int(B1) * 100 + int(B2))

print(answer // 100)
a,b=input().split()

from decimal import *
getcontext().prec = 100
a=Decimal(a)
b=Decimal(b)
print(int(a*b))
import math
a,b = input().split()
B = int(str(b).replace(".",""))
A = int(a)
print(A*B//100)
a, b = input().split()

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

print((a * b) // 100)
a, b = input().split()
a = int(a)
b = int(b[0])*100 + int(b[2])*10 + int(b[3])
print((a*b)//100)
#decimalを使った別解
import decimal
deci = decimal.Decimal
a,b = input().split()
x,y = deci(a),deci(b)
ans = (x*y).quantize(deci('0'),rounding=decimal.ROUND_FLOOR)
print(ans)
#!/usr/bin/env python
import sys
sys.setrecursionlimit(10**9)
from collections import deque,defaultdict
import heapq
from itertools import combinations
import bisect
from decimal import Decimal


a,b=map(str,input().split())
b=Decimal(b)
a=int(a)
p=list(str(a*b))
ans=''
for i in p:
    if i=='.':
        break
    ans+=i
print(ans)
a, b = input().split()
a = int(a)
b = round(float(b) * 100)
print(a * b // 100)
a, b = input().split()
keta = len(b) - b.find(".") - 1
a_n = int(a)
b_n = int(b.replace(".", ""))
ans = a_n * b_n
ans_s = str(ans)
if len(ans_s) < keta + 1:
    print(0)
else:
    print(ans_s[:-keta])
from decimal import Decimal
a, b = map(Decimal, input().split())
print(a * b //1)
from decimal import Decimal

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

print(int(A*B))
from math import floor
from decimal import Decimal

A, B = map(Decimal, input().split())
print(floor(A * B))
from decimal import Decimal
a, b = map(Decimal, input().split())

print(int(a*b))
from decimal import Decimal as d,ROUND_FLOOR as r

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

print((a*b).quantize(d('0'),rounding=r))
from decimal import Decimal as dec
a, b=map(dec, input().split())
print(int(a*b))
import math
from decimal import Decimal

A,B=map(Decimal,input().split())
print(math.floor(A*B))
A, B = map(float, input().split())

a = int(A)
b = round(B * 100)

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

print(a * b // 100)
split = input().split()

num1 = int(split[0])
num2 = int(float(split[1])*1000)
print(int(num1*num2)//1000)
print(int((s:=input())[:-4])*int(s[-4]+s[-2:])//100)
from decimal import Decimal, ROUND_DOWN

A, B = input().split()
X = Decimal('0')

A = Decimal(A)
B = Decimal(B)

X = (A*B).quantize(Decimal('0'), rounding=ROUND_DOWN)

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

a_1 = int(a)

b_1 = int(b[0])*100
b_10 = int(b[2])*10
b_100 = int(b[3])

ans = a_1 * b_1
ans += (a_1 * b_10)
ans += (a_1 * b_100)

print(ans//100)
ab = input().split()
a, b = int(ab[0]), str(ab[1])
c = int(b[0]) * 100 + int(b[2]) * 10 + int(b[3]) 
print(a * c // 100)
import math
from decimal import Decimal 
A,B = input().split()
C = Decimal(B)
print(math.floor(int(A)*C))
A, B = [s for s in input().split()]
A = int(A)
intB, decimalB = B.split(".")
result = A * int(intB) +  A * int(decimalB) // 100
print(result)
A,B=input().split()
A=int(A)
B=int(B[:-3])*100+int(B[-2:])

print((A*B)//100)
import sys
readline = sys.stdin.readline

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

print(int(A * B))
import sys
input  = input().split()

A = int(input[0])
B = int(input[1].replace('.',''))

print((A*B // 100))
A, B = map(float, input().split())
A = int(A)
B = int(B * 100 + 0.5)
print(A * B // 100)
a, b = map(float, input().split())
ib = round(b * 100 + 0.1)
res = int(a) * ib // 100
print(res)
A, B = input().split(" ")
A = int(A.strip())
B = int(B.strip().replace(".", ""))
print(A * B // 100)
from decimal import *
a,b = map(Decimal,input().split(' '))
print(int(a*b))
A, B= input().split()
A = int(A)
B = B.replace('.','')
B = int(B)
print(A*B//100)
from decimal import Decimal
A, B = list(map(float, input().split()))
a = Decimal(str(A))*Decimal(str(B))
print(int(a//1))
from decimal import Decimal

A, B = input().split()
A = Decimal(A)
B = Decimal(B)
print(int(A * B))
from math import floor
from fractions import Fraction
a, b = input().split()
a = int(a)
b = Fraction(b)
print(floor(a * b))
from decimal import *
a, b = [ Decimal(f) for f in input().split()]
r = a * b
getcontext().rounding = ROUND_DOWN
print('{:.0f}'.format(r))
import math

As,Bs=input().split()
if As=="0" or Bs=="0.00":
    print("0")
else:
    A=int(As)
    Bs=Bs.replace('.','')
    B=int(Bs)
    ans=int(A)*int(B)
    anss=str(ans)
    if len(anss)<3:
        print("0")
    else:
        print(anss[:-2])
AB = list(input().split())
A = int(AB[0])
B = int(float(AB[1]) * 100 + 0.1)
print(A * B // 100)
from decimal import *
import math

s = input().split()
a = Decimal(s[0])
b = Decimal(s[1])
res = math.floor(a * b)
print(res)
from decimal import Decimal
import math
'''
a=10**15
b=9.99
'''
a,b=map(Decimal,input().split())

num=a*b
#print(num)

num=math.floor(num)
print(num)
from decimal import Decimal
from math import floor

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

slist =  input().split()
a = int(slist[0])
b = decimal.Decimal(slist[1])
print(int(a*b))
def main(istr, ostr):
  x, y = istr.readline().strip().split()
  a = int(x)
  b0, _, b1, b2 = y
  b0, b1, b2 = list(map(int, [b0, b1, b2]))

  c = a * (100 * b0 + 10 * b1 + b2)
  res = c // 100
  print(res, file=ostr)


if __name__ == "__main__":
  import sys

  main(sys.stdin, sys.stdout)
from decimal import Decimal
a, b = map(str, input().split())
a = int(a)
b = Decimal(b)
print (int(a*b))
A, B = input().split()
B = B[:-3] + B[-2:]
print(int(A) * int(B) // 100)
from decimal import Decimal
A, B = input().split()
print(int(int(A)*Decimal(B)))
a, b = map(float, input().split())

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

print(a * b // 100)
from decimal import Decimal

A,B = map(str,input().split())
A = Decimal(A)
B = Decimal(B)
ans = int(A*B)
print(ans)
A,B = map(float, input().split())
A = int(A)
C = int(B*100+0.5)
print(A*C//100)
a,b=input().split();print(int(a)*int(b[0]+b[-2:])//100)
A, B = input().split()
# _B = B * 100
B = round(100*float(B))
A = int(A)

ans = A * B // 100

print(ans)
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型にする
B = int(float(B)*100 + 0.5)
ans = int(A)*B
print(ans//100)
a, b = map(str,input().split())
from decimal import *
print(int(Decimal(a) * Decimal(b)))
import math
from decimal import Decimal


A, B = map(float,input().split())
A = str(A)
A = Decimal(A)
B = str(B)
B = Decimal(B)
print(math.floor(A * B))
a,b=map(float,input().split())
B=round(100*b)
print(int(a)*B//100)
from decimal import Decimal, getcontext, ROUND_DOWN
A, B = input().split()
dta = Decimal(A)
dtb = Decimal(B)
getcontext().rounding = ROUND_DOWN
print(Decimal(dta * dtb).quantize(Decimal('0')))
from decimal import Decimal
a, b = input().split()
print(int(Decimal(a)*Decimal(b)))
from decimal import Decimal
a,b=map(Decimal,input().split())
print(int(a*b))
from decimal import Decimal
A,B=input().split()
A=int(A)
B=Decimal(B)
C=int(A*B)
print(C)
A, B = map(float, input().split())
B = round(B * 100)
print(int(A) * B // 100)
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 (int(A*B))
from decimal import Decimal
A,B =input().strip().split()

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

print(ans)
import numpy as np

A, B = input().split()

A = np.int64(A)

B1 = np.int64(B[0])

B2 = np.int64(B[2:4])

res = (A * B1) + (A * B2) // 100

# print(A)
# print(B)

# print(B1)
# print(B2)

print(res)
a, b = map(float, input().split())
b = float(b)*1000
b = int(b)
c = int(a)*b//1000

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

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

print(math.floor(a*b))
A,B=input().split()
print(int(A)*int(B[:1]+B[-2:])//100)
from decimal import Decimal
a, b = map(Decimal, input().split())
print(int(a*b))
from decimal import Decimal, getcontext
getcontext().prec = 20
A, B = input().split()
A = int(A)
num = Decimal(A) * Decimal(B)
print(int(num))
import sys
readline = sys.stdin.readline

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

print(A * B // 100)
line = input().split()
a = int(line[0])
b = round(float(line[1])*100)

print(a*b//100)
sa, sb = input().split()
a = int(sa)
b = int(sb.replace('.', ''))
print(a * b // 100)
from decimal import Decimal
A, B = input().split()
A = Decimal(A)
B = Decimal(B)
C = A*B
print(int(C))
from decimal import Decimal
from math import floor

ins = input().split()
a = Decimal(ins[0])
b = Decimal(ins[1])

print(floor(a*b))
# C Multiplication 3

from decimal import Decimal

ab = input().split()
a = int(ab[0])
b = Decimal(ab[1])

print(int(a*b))
A,B=input().split()
B1,B2=B.split('.')
print(int(A)*(int(B1)*100+int(B2))//100)
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from decimal import Decimal


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


if __name__ == "__main__":
    main()
a, b = input().split()
c = int(a) * int(b.replace('.', ''))
print(c // 100)
from decimal import *
import math

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

print(math.floor(Decimal(a)*Decimal(b)))
from decimal import Decimal
m,n = input().split()
print(int(Decimal(m)*Decimal(n)))
a,b=input().split()
from decimal import Decimal
ans=Decimal(a)*Decimal(b)
print(int(ans))
from decimal import *
A,B = input().split()
A = int(A)
B = Decimal(B)
print(int(A*B))
a, b = input().split()
a = int(a)
q, r = map(int, b.split('.'))
a *= q * 100 + r
a = a // 100
print(a)
a,b=input().split()
a=int(a)
b=float(b)
b=round(100*b)
ans=int(int(a*b)//100)
print(ans)
a,b = input().split()
a = int(a)
b0 = int(b[0])
b1 = int(b[2])
b2 = int(b[3])


s1 = a*b0
s2 = a*b1
s3 = a*b2

hoge = s1*100+s2*10+s3

if len(str(hoge)) <= 2:
    print(0)
else:
    print(str(hoge)[:-2])
A,B=input().split()
A=int(A)
B=int(100*float(B)+0.5)
print(A*B//100)
from decimal import Decimal
a,b = input().split()
a = Decimal(a)
b = Decimal(b)
print(int(a*b))
[A,B] = list(input().split())

A = int(A)
B1= int(B[0])
B2= int(B[2])
B3= int(B[3])

B = 100*B1 + 10*B2 + B3
C = A*B
print(C//100)
#!/usr/bin/env python3
import collections
import itertools as it
import math
#import numpy as np
 
#  = input()
#  = int(input())
a, b  = map(str, input().split())
a = int(a)
b = b.replace('.', '')
b = int(b)
#  = list(map(int, input().split()))
#  = [int(input()) for i in range(N)]
#
# c = collections.Counter()

print(a * b // 100)
from fractions import Fraction
from decimal import Decimal
from math import floor

A, B = input().split()

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

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

a = int(a)
b = int(float(b)*1000)

print(int((a * b) // 1000))
import math


def solve():
    A, B = input().split()
    print(int(A) * int(B[-4] + B[-2:]) // 100)



if __name__ == '__main__':
    solve()
a,b = input().split()
a = int(a)
b = "".join([s for s in b.split(".")])
b = int(b)
n = a*b
print(n//100)
n, m = input().split()
n = int(n)
a, b = map(int, m.split('.'))
m = a*100 + b
print((n*m)//100)
from math import floor
from decimal import Decimal
inp = input().split()
A = int(inp[0])
B = Decimal(inp[1])
print (floor(A * B))
from decimal import Decimal
A,B=map(float, input().split())
AB=Decimal(str(A))*Decimal(str(B))
print(int(AB))
A, B = input().split()
A = int(A)
B = round(float(B) * 100)
print(A*B//100)
A, B = input().split()
BA, BB = B.split(".")
#print(A, BA, BB)
print((int(A)*(int(BA)*100+int(BB))//100))
# Problem C - Multiplication 3

import math

# input
A, B = input().split()
A = int(A)

# initialization
b_1 = int(B[0])
b_2 = int(B[2])
b_3 = int(B[3])
tmp_1 = A * b_1 * 100
tmp_2 = A * b_2 * 10
tmp_3 = A * b_3
ans = math.floor((tmp_1 + tmp_2 + tmp_3) // 100)

# output
print(ans)
# coding: utf-8
# Your code here!
A,B=map(float,input().split())

print((int(A)*int(round(B*100)))//100)
from decimal import Decimal
A, B = map(Decimal, input().split())

print(int(A*B))
from decimal import *

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

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