peterverebics/CodeNet_Python_118 huggingface dataset:
def readinput():
    a,b=list(map(float,input().split()))
    return a,b

def main(a,b):
    ans=int(a*b//1)
    return ans

if __name__=='__main__':
    a,b=readinput()
    ans=main(a,b)
    print(ans)
import math
input = input().split()
a = int(input[0])
b = float(input[1])
print(int(math.modf(a*b)[1]))
import math
a,b = map(float,input().split())
a = int(a)
b = int((b*1000))
ans = (a*b)/1000
print(math.floor(ans))
a, b = input().split()

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

print(a * b // 100)
A, B = map(float, input().split())

ans = A * B

print(format(ans, '.0f'))
def resolve():
    a, b = map(float, input().split())
    from math import floor
    print(floor(a * b))


if __name__ == '__main__':
    resolve()
import math
A,B = input().split(' ')
answer = math.floor(int(A)*float(B))
print(answer)
a,b = input().split()

a = int(a)

b = int(float(b)*100)

print(a*b//100)
slist =  input().split()
a = int(slist[0])
b = float(slist[1])
print(int(a*b))
num_strs = input().split()

a = int(num_strs[0])
b = int(float(num_strs[1]) * 100)

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

A = int(A)
B = float(B)

res = A * B
print(int(res))
from decimal import Decimal
A, B = map(eval, input().split())
print(int(Decimal(B)*A))
import math
import sys
input = sys.stdin.readline


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


if __name__ == '__main__':
    main()
c=list(map(float,input().split()))
m1=int(c[0])
m2=float(c[1])
w=m1*m2
print(int(w))
a, b = input().split(' ')
def doit(a,b):
  x,y = b.split('.')
  m=1
  m = (1*int(a)*int(x) + int(a)*int(y))//100
#   if int(x) > 0:
#     m = (1*int(a)*int(x) + int(a)*int(y))//100
#   else:
#     m = (1*int(a) + int(a)*int(y))//100
    
  return m
 
print(doit(a,b))

# print(int(int(a)*float(b)))
a,b = map(float, input().split())
c = a*b

print(int(c))
A,B=map(float, input().split())
print(int(A*B))
a, b = map(str, input().split())

a = int(a)
b = float(b)

c = a * b
print(int(c))
A, B= input().split()
A= int(A)
B= int(float(B)*100)
ans = A*B//100
print(ans)
from fractions import Decimal, Fraction
a,b = map(float, input().split())
a = Fraction(a)
x = Decimal(b).as_integer_ratio()
b = Fraction(x[0], x[1])
print(int(a*b))
a,b=map(float,input().split())
print(int(a*b))
s = input().split()
a, b = int(s[0]), float(s[1])
b = int(b*100)
print(a*b // 100)
import math
a,b = input().split()
print(math.trunc(int(a)*float(b)))
A,B = map(float,input().split())
print(int(A*B))
import sys
import itertools
sys.setrecursionlimit(1000000000)
from heapq import heapify,heappop,heappush,heappushpop
import math
import collections
import copy

if __name__ == "__main__":
    a,b = map(float,input().split())
    a = int(a)
    b = b*100
    b = int(b)
    ans = a*b
    ans = ans/100
    print(math.floor(ans))
a,b=map(float,input().split())
import math
a=int(a)
B=int(100*b)
print(int(a*B/100))
def main():
  A, B = map(float, input().split())
  print(int(A*B))
if __name__ == "__main__":
  main()
a,b=input().split()
a=int(a)
b=float(b)*100
print(int((a*b)/100))
import math

A, B = map(float, input().split())
print(math.floor(A*B))
import math
A,B=input().split()
ans=int(A)*float(B)

print(math.floor(ans))
import numpy as np
import math
#A, B = map(float, input().split())

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

A = np.array(A, dtype=np.float128)

ans = A[0] * A[1]



ans = math.floor(ans)
print(str(ans))
A, B = map(float, input().split())

import math

print(math.floor(A * B))
a, b = map(float, input().split())
a = int(a)
b *= 100 # 整数にしておく
b = int(b)

# print(a, b)
ab = a * b / 100

print(int(ab))
a,b = map(float,input().split())
kotae = a*b//1
print(int(kotae))
a,b=map(float,input().split())
print(int((a*b)//1))
# -*- coding: utf-8 -*-

import math

nums = input().split()

a = int(nums[0])
b = float(nums[1])

pdc = a * b

print(math.floor(pdc))
def main():
    import math

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

    prod = ((A*100)*(B*100))/10000

    print(math.floor(prod))

main()
a,b=map(float,input().split())
ans=(a*b)//1
print(int(ans))
x = list(map(float,input().split()))

A = int(x[0])
B = float(x[1])

B_d = (B-int(B))*1000000000000000000000


#print(A*B)
print(int(A*int(B) + B_d*A/1000000000000000000000))
s = input().split()
 
num = int(s[0])
 
#num
 
num2 = int(float(s[1])*100)
 
#num2
ans = (num*num2)//100
 
print(ans)
import math

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

print(math.floor(a*b))
inp = input().split()

A = int(inp[0])
B = float(inp[1])

res = str(A * B).split('.', 1)[0]

print(str(res))
a,b=map(str,input().split())
A=int(a)
B=""
for i in range(len(b)):
  if b[i]!=".":
    B+=b[i]
  else:
    pass
B=int(B)
ans=A*B
print(ans)
a, b = list(map(float ,input().split()))
print(int(a*b))
a, b = map(float, input().split())
ans = (a * (b * 100)) / 100
print(int(ans))
from decimal import Decimal

a,b = map(float,input().split())
a = Decimal(a)
b = Decimal(b)
ans = a*b
print(int(ans))
import math
Z = input().split()
A = float(Z[0])
B = float(Z[1])
a = int(A*B)
print(a)
a,b = input().split()
b = int(float(b)*100)
print(int(int(a)*b/100))
from decimal import Decimal

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

print('{:.0f}'.format(c))
a,b=map(float,input().split())
a=int(a)
print(int(a*b))
a,b = map(float,input().split())
c = int(a*b)
print(c)
A,B=map(str,input().split())
A=int(A)
B=float(B)
print(int(A*B))
import math

A, B = map(float, input().split())
B = int(B * 100)
print(int(A) * B // 100)
L = input().split()
A = float(L[0])
B = float(L[1]) * 100
import math
print(int((A * B)//100))
import math

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

C = A*B
D = math.floor(C)

print(int(D))
import math

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

print(math.floor(a*b))
n , m = map(float ,input().split())
ans = str(n * (m * 100) // 100 )

print(ans[:ans.find('.')])
a, b = map(float, input().split())
print(int((a * b)//10 * 10))
import math 

A,B = input().split()
A = int(A)
B = int(float(B)*1000 + 0.1)
ans = math.floor(A*B/1000)
print(ans)
ab=input().split()
a=int(ab[0])
b=int(float(ab[1])*100)
s=a*b
print(int(s/100))
a,b=input().split()
a=int(a)
b=int(float(b)*100)
ans=(a*b)/100
print(int(ans))
import math
A, B = map(float, input().split())
print(math.floor(A*B*100/100))
from decimal import *

if __name__ == "__main__":
    A, B = input().split()
    A = Decimal(A)
    B = float(B)
    ans = str(Decimal(Decimal(B*100)*A/100)).split('.')[0]
    print(0 if len(ans)==0 else ans)
def main():

    A, B = input().split()
    A = int(A)
    B = float(B)
    f = B - int(B)
    v = int(A * f)
    v += int(B) * int(A)
    return v

if __name__ == '__main__':
    print(main())
# import numpy as np
# import math
# import copy
# from collections import deque
import sys
input = sys.stdin.readline
# sys.setrecursionlimit(10000)


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

    A = int(A)

    res = int(B) * A

    Bs = B - int(B)

    res += int(Bs * A)

    print(res)



main()
# import math

li = [float(s) for s in input().split()]

# print(li)

# print(li[0]*li[1])

ans = int(li[0]*li[1])

print(ans)
from decimal import Decimal
import math

line= input().split()
a = int(line[0])
b = math.floor(Decimal(line[1]))
print(a * b)
"""
じょえチャンネルおもしろいよ～～～
https://www.youtube.com/channel/UCRXsI3FL_kvaVL9zoolBfbQ
"""
a,b=map(float,input().split())
print(int(a*b))
a,b = map(float, input().split())
b *= 100
c = a*round(b)
print(c//100)
a,b = input().split()
a = int(a)
b = float(b)
print(int(a*b))
a, b = map(float, input().split())
print(int(a*b+0.001))
import math
A, B = map(float, input().split())

print(math.floor(A*B))
import math

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

answer=(a/100)*(b*100)
print(math.floor(answer))
a, b = input().split()
a = int(a)
b = 100 * float(b)
c = b / 100
 
print(int(a*c))
AB = list(map(float, input().split()))

result = AB[0] * AB[1]
print(int(result))
a, b = map(float, input().split())
a = int(a)
b = int(b*100)
print(a * b // 100)
a,b=input().split()

a1=int(a)
b1=float(b)


d=a1*(b1*100)/100


print(int(d))
a,b = map(str,input().split())
b100 = int(b[0]) * 100 + int(b[2]) * 10 + int(b[3])
# print(b)
# print(b100)
print(int(int(a)*b100/100))
import math
a,b=map(float,input().split())
ans=a*b
print(math.floor(ans))
S = input().split()
A = int(S[0])
B = float(S[1])
import math
print(int(math.floor(A*B)))
import math
a,b = map(float, input().split())
print(math.floor(a*b))
inputs = list(map(lambda x:float(x), input().split()))
multiple = int(inputs[0]) * float(inputs[1])

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

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

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline

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

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

t = a * b // 100
print(t)
import decimal

tmp1, tmp2 = map(float, input().split())
a = decimal.Decimal(tmp1)
b = decimal.Decimal(tmp2)
print(a * b // 1)
import math
S=list(input().split())
A=int(S[0])
B=float(S[-1])
print(math.floor(A*B))
import math
A,B = map(float,input().split())
ans = float((A * (B * 100)) / 100)
print(math.floor(ans))
from math import floor
from decimal import Decimal

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

ans = int(A) * Decimal(B)

print(floor(ans))
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)
f=s[:len(s)-1]

print(f)
a, b = map(float,input().split())
b = b * 100
x = (a*b)/100
x = int(x)
print(x)
a0, b0 = input().split()
a = int(a0)
b = float(b0)

print(int(a*b))
import math

a,b = map(str,input().split())
a = int(a)
b = float(b)
print(math.floor(a*b))
a = input().split()
print(int(int(a[0])*float(a[1])))
import math
A, B = input().split()
A = float(A)
B = float(B)
C = A * B
print(math.floor(C))
a, b = input().split()

print(int(float(a)*float(b)))
re = input().split()
a = int(re[0])
b = float(re[1])
for i in range(10):
    if i <= b <i+1:
        c = int(i)
        d = int(100 * (b - i))
        #d = int(math.floor(100 * (b - i)))
        break
    
e = a * c
f = a * d
g = f // 100
h = e + g
print(h)
A,B = map(float, input().split())
b = "{:.3f}".format(B)
bb = float(b)
print(bb)
C = A * bb

print(int(C))
import math
a,b=map(float,input().split())
a=int(a)
print(math.floor(a*b))
def main():
    A, B = input().split()
    A = int(A)
    B = float(B)

    ans = A*B
    ans = int(ans)

    print(ans)



if __name__ == '__main__':
    main()
A, B = map(float, input().split())

print(int(A * B))
import math
arr=input().split(" ")
a=float(arr[0])
b=float(arr[1])
 
print(math.floor(a*b))
import math

A, B = map(float, input().split())
print(math.floor(A * (B * 100) / 100))
import math
a,b = map(float,input().split())
print(int(math.floor(a*b)))
ab = input().split()
a, b = int(ab[0]), float(ab[1])
c = str(a)
if len(c) >= 3:
  x = a - int(c[-2:])
  y = int(c[-2:])
  i = int(x * b)
  j = int(y * b)
  print(i+j)
else:
  print(int(a*b))
import math
A, B = map(float, input().split()) 
  
print(math.floor(A*B))
A,B = [float(i) for i in input().split()]
A = int(A)
a = int(B)
b = int(10*B)-10*a
c = int(100*B)-100*a - 10*b
T = (A*b)%10
Y = (A*c)%100
U = (Y+(10*T))//100
ans = A*a
ans += (A*b)//10
ans += (A*c)//100
ans += U
print(ans)
A=list(map(float,input().split()))
M=1
for i in A:
	M=float(M*i)
S=str(M)
if "." in S:
	print(S[:S.index(".")])
import math

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

def multiple_ab(a, b):
  a = int(a)
  ans = math.floor(a * b)

  return ans

print(multiple_ab(a, b))
A, B = input().split()
A = int(A)
B = float(B)

import math
print(int(math.floor(A*B)))
from math import trunc
A, B = input().split()

print(int(A)*trunc(float(B)))
import math

A, B = map(float, input().split())
B *= 100
ans = A*B
ans = int(ans // 100)
#ans = math.floor(ans)
print(ans)
import math
import decimal

if __name__ == "__main__":
    a, b = input().split()
    a = int(a)
    
    #b = decimal.Decimal(b)
    #ans = a * b
    #ans = math.floor(ans)

    b = float(b)
    b *= 100
    b = int(b)
    ans = a * b
    md = ans % 100
    ans -= md
    ans /= 100
    ans = int(ans)

    print(ans)
a=input()
a=a.split()
a[0]=int(a[0])
a[1]=float(a[1])
a[1]=int(a[1]*a[0])
print(a[1])
import math

a, b = map(float, input().split())
print(math.floor(a * b))
import math
def RA():
    return list(map(int, input().split()))

def solve():
    n, m = input().split()
    n = int(n)
    m = float(m)
    print(math.floor(n * m))


solve()
import math

a, b = map(float, input().split(" "))
print(math.floor(int(a)*b))
a,b = (x for x in input().split())
a = int(a)
b = float(b)
bc,bm = b.as_integer_ratio()

print(a*bc//bm)
A, B = input("").split()

A, B = int(A), round(float(B), 2)

print(int(A*B))
a, b = input().split()
a = int(a)
b = float(b)*100
    
ans = a*b
print(int(ans//100))
il = input().split()

A = float(il[0])
B = float(il[1])

import math

ans = math.floor(A*B)
ans = int(ans)

print(ans)
a,b=map(float,input().split())
a=int(a)
bb=list(str(int(b*100)))
if len(bb)==1:
  bb=[0,0]+bb
if len(bb)==2:
  bb=[0]+bb
ans=0
ans+=int(int(bb[0])*a)//1
x=int(int(int(bb[1])*a/10)+int(int(bb[-1])*a)/100)
ans+=x
print(ans)
#C
A,B = map(float,input().split())
C = (A*(B*100))//100
C = str(C).split('.')[0]
print(C)
a, b = map(float, input().split())
print(int(float(a * b)))
import math
a,b=map(float,input().split())

s=a*b
b=math.ceil(s)
print(b-1)
text = input().split()
A = int(text[0])
if(text[1][-2] == '.'):
    B = int(text[1][:-2] + text[1][-1:])
    print(str((A * B))[:-1])
elif(text[1][-3] == '.'):
    B = int(text[1][:-3] + text[1][-2:])
    print(str((A * B))[:-2])
else:
    B = int(text[1])
    print(str((A * B)))
inputlist = input().strip().split(" ")
a = int(inputlist[0])
b = float(inputlist[1])

print(int(a*b))
a, b = input().split()
a = int(a)
b = float(b)
print((a*b)//1)
import math

def main():
    a, b = map(float, input().split())
    a = int(a)
    b = math.floor(b * 100 / 100)
    ans = int(math.floor((a * b) * 100 / 100))

    print(f'{ans}')


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

a, b = input().split()
a = int(a)
b = float(b)
print(math.floor(a*b))
numbers = input().split()
a = int(numbers[0])
b = float(numbers[1])
print (int(a*b))
a, b = map(float, input().split())

result = int(a * (100 * b) // 100)

print(result)
from math import trunc

a, b = map(float, input().split())
print(trunc(a*b))
a,b=input().split()

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

print(int(c))
#A, B = map(float, input().split())
a = input().split()
for i in range(2):
    a[i] = int(a[i]) if i == 0 else float(a[i])*100
print(int(a[0] * a[1] / 100))
#print(type(a[0]))
#print(type(a[1]))
AB=input().split(" ")
A=int(AB[0])
B=int(float(AB[1])*100)

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

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

A = int(A)
B100 = float(B) * 100
#print(A, B)

C = A * B100
#print(C)

print(math.floor(C / 100))
A,B = map(float,input().split())
B *= 100
B = int(B)  
ans = A*B
ans //= int(100)
print(int(ans))
inp=input().split(" ")
a=int(inp[0])
b=float(inp[1])*100
b=int(b)
print((a*b)//100)
import math
a,b = map(float,input().split())
b = int(b*100)
a = a/100
#print(a,b)
ans = (a*b)//1

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

from decimal import Decimal
import math
a = int(a)
dc_b = Decimal.from_float(b)
print((a*dc_b)//1)
# -*- coding: utf-8 -*-
import math
a, b = map(float,input().split())

#print(a, b)
print(math.floor(int(a) * b))
#print(int((a * b) // 1))
A, B = map(float, input().split())
B = B * 100
A = int(A)
B = int(B)
x = A * B
x = x / 100
print(int(x))
m = input("")
list = m.split(" ")
num = eval(list[0]) *eval(list[1]) 
num = int(num)
print(num)
import math
a,b=map(float,input().split())
print(math.floor(a*b))
A,B = map(str,input().split())
A = int(A)
B = float(B)
B = round(B,2)
print(int(A*B))
from sys import *
import math
things = stdin.readline().split()
hue = float(things[1]) - int(float(things[1]))
big = int(float(things[1])) * int(things[0])
small = int(things[0]) * hue
print(math.trunc(small) + big)
A, B = input().split()
a = int(A)
b = float(B)

ans = a * b

print(int(ans))
a, b = map(float, input().split())
print(int(a * int(b * 100 + 10**-8) // 100))
def C():
    A, B = input().split()
    A = int(A)
    B = float(B)
    print(int(A*B))

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

seisuu=b//1
syousuu=b-seisuu

seisuu=seisuu*a
seisuu2=(syousuu*a)//1

print(int(seisuu+seisuu2))
import math
a,b=map(str,input().split())
a=int(a)
b=b.replace('.','')
n=a*(int(b[0])*1)+a*(int(b[1])*(1/10))+a*(int(b[2])*(1/100))
n=str(n)
print(n[:n.index('.')])
a, b = list(map(float, input().split()))
sum = str(a * b)
if '.' in sum:
    print(sum.split('.')[0])
else:
    print(sum)
A, B = map(float, input().split())
if A == 0 or B == 0:
  ans = 0
else:
  A = int(A)
  B = int(B * 100)
  ans = A * B
  ans //= 100
print(ans)
S=input().split()
A=int(S[0])
B=int(float(S[1])*100)

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

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

print((A * B) // 100)
import math
A,B = map(float,input().split())
ans = math.floor(A*B)
#print(A,B,A*B)
print(ans)
import math
a,b = map(float,input().split())
b = b*100
a = (a*b)/100
print(math.floor(a))
import math
a,b=input().split()
if len(a)<=2:
  a=float(a)
  b=float(b)
  print(math.floor(a*b))
  exit()
a=list(a)
b=list(b)
a0=int(''.join(a))
a1=int(''.join(a[:-1]))
a2=int(''.join(a[:-2]))
b0=int(b[0])
b1=int(b[2])
b2=int(b[3])
ss=a0*b0+a1*b1+a2*b2
print(ss)
a,b = map(float,input().split())
ans = (a*b) // 1
print(int(ans))
a,b= input().split()
a = int(a)
b = float(b)
print(int(a*b))
import math

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

a = int(a)
b = float(b)
ans = math.floor(a*b)

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

count = -1
check = -1
B = ""

for char in B_list:
  if char == ".":
    count = 0
    check = 0
  else:
    if check == 0:
      if count >= 0:
        count += 1
    B += char

result = A * int(B) / 10 ** count 
print(int(result))
li=input().split()
a = int(li[0])
b = float(li[1])*100
print(int(a*b/100))
import sys
def input(): return sys.stdin.readline().strip()

def resolve():
    import math
    a,b=map(float, input().split())
    print(math.floor(a*b))
resolve()
import math

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

while 10**15 < A or 10 < B or A < 0 or B < 0:
    A , B =list(map(float,input().split()))
    if 0 <= A and A <= 10**15 and 0 <= B and B < 10:
        break
    
c = math.floor(A * B)

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

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

print(int(A*B))
import math
A,B = map(str,input().split())
A = int(A)
B = int(float(B)*100)
C = str((A*B))
if A*B/100<1:
    print(0)
else:
    print(C[0:-2])
a,b= input().split()
a= int(a)
b = float(b)*100
print(round(a*b))
import math
a,b = map(float,input().split())

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

# print(a,b)
# print(math.floor(a*b))
# x = a * (b*100)
# print(math.floor(x//10))
y = Decimal(a) * Decimal(b*100)
# print(Decimal(a) * Decimal(b))
# y = x//100
# print(math.floor(y))
print(int(y)//100)
n, m =map(float,input().split()) 

M = 10000*m
a = n * M
ans = float(a / 10000)
print(int(ans))
A, B = input().split()
A = int(A)
B = float(B) * 100
res = A * B / 100
print(int(res))
s = str(input())
d = s.split()
a = float(d[1])
b = int(d[0])
c = float(a * b)
ans = int(c)
print(ans)
def main():
    
    
    A, B = map(float,input().split())
    
    if A == 0:
        return 0

    else:
        AB = A*B
        
        if AB > 1e18:
            return -1
        
        else:
            return int(AB)
        
    
main()
import math
A,B =map(float, input().split())
A=int(A)
print(math.floor(A*B))
a, b = input().split()
a = int(a)
b = int(float(b) * 100)
print(a * b // 100)
A,B = map(float,input().split())
result = int(A*B)
print(result)
a, b = map(float, input().split())

print(int(a*b))
A, B = map(str, input().split())
#print(A)
#print(B)

AA = int(A)
BB = float(B)
mul = AA * BB
#print(mul)
C = int(mul)
print(C)
import math as m

def multi3():
    nums = list(map(float,input().split()))
    return m.floor(nums[0] * nums[1])


if __name__ == "__main__":
    print(multi3())
import math
a,b = map(float,input().split())
print(math.floor(a*b))
a,b = map(float,input().split())

a=int(a)

b=int(b*1000)

ans =a*b//1000

print(ans)
a,b=map(str,input().split())
a=int(a)
c,d=map(int,b.split("."))
print(a,b,c,d)
x=a*c+(a*d//100)
print(x)
a,b=map(float,input().split())
x=a*b 
print(int(x))
import math
A,B=map(float,input().split())
print(math.floor(A*B))
inputs = list(map(float, input().split()))
multiple = inputs[0] * inputs[1]

multiple_str = str(multiple)
if '.' in multiple_str:
    print(int(multiple_str.split('.')[0]))
else:
    print(int(multiple_str))
A,B = map(float,input().split())
A = int(A)
B = int(B*100)
print((A*B)//100)
import math

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

tmp = a * b

print(math.floor(tmp))
a, b = input().split()
print(int(int(a) * float(b)))
import math
a,b = map(float,input().split())

print(math.floor((a*b)))
import math;
a, b = input().split();
a = float(a);
b = float(b);
ans = a*b;
ans1 = math.trunc(ans);
print(ans1);
A, B = map(float, input().split())
print(int(A * int(B * 100) / 100))
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(int(ans))
# import math
A, B = [x for x in input().split(" ")]
A = int(A)
B = int(float(B) * 100) / 100

if A > 10**15 or A < 0:
  exit(1)
if B < 0 or B > 10:
  exit(1)

print(int(A * B))
i = list(map(float, input().split()))
a = i[0]
b = i[1]
b *= 100
a = int(a)
b = int(b)
a *= b
a //= 100
print(a)
arr = list(map(float, input().strip().split()))

ans = arr[0]
ans *= arr[1]
	
print(int(ans))
import math

a = input().split()
a[0]=int(a[0])
a[1]=int(float(a[1])*100)

# print(a[0])
# print(a[1])

# print(a[0]*a[1]/100)

print(int(math.trunc(a[0]*a[1]/100)))
from sys import stdin
A, B = list(map(float,input().split()))

result = int(A * B)

print(result)
a,b = map(float,input().split())
ans = int(a*(b*100)/100)
print(ans)
AB = input().split()
A = int(AB[0])
B = int(float(AB[1]) * 100)

print((A * B) // 100)
a, b = map(float,input().split())

a = int(a)
c = int((b - int(b))*100)
d = int(b)

print(a * d + a * c // 100)
inp = input().split()

A = int(inp[0])
B = float(inp[1])

test = A * B
res = int(A * B)

print(str(res))
import math
a,b = input().split()
a = int(a)
b = float(b)
ans = (a*b)//1
print(int(ans))
a,b=map(float,input().split())
a=int(a)
b=int(b*100)
print(int(a*b//100))
A, B = input().split()
A = int(A)
B = float(B)

print(int(A*B))
A, B = input().split()
A = int(A)
B = int(float(B)*(10**3))
print(B)
print(A*B//(10**3))
a,b=map(float,input().split())
a=int(a)
c=a*b
print(int(c))
a,b = map(float, input().split())
import math
bans = a*b
ans = math.floor(bans)
print(ans)
import math
a, b = map(str, input().split())
print(int(int(a)*float(b)))
A,B=map(float,input().split())
A=int(A)
B=int(B*100)
ans=A*B/100
print(int(ans))
A, B = map(float, input().split())
epsilon = 0.000001
A = int(A)
if B >0:
	B = int((100*B+epsilon))
else:
    B = 0
print(int(int(A*B+epsilon)//100))
L = input().split()
A = int(L[0])
B = int(float(L[1]) * 100)
ans = 0
m = 1
for i in range(len(str(B))):
    x = B % 10
    B //= 10
    if (x != 0):
        ans += A * (x * m)
    m *= 10
print(int(ans//100))
import math as m
n,k=map(str,input().split())
n=int(n)
k=float(k)
print(int(n*k))
import math
a, b = input().split()
a = int(a)
b = float(b)
print(math.floor(a*b))
a, b = input().split()
a = int(a)
b = int(float(b)*100)
ans = int(int(a*b)/100)
print(ans)
i = input().split()
A = int(i[0])
B = float(i[1])
BB = int(B * 100)

C = (A * BB) // 100
print(int(C))
a=input().split()

fa=int(a[0])
fb=int(float(a[1])*100)

print(fa*fb//100)
import math
a = input().split()
print( math.ceil(int(a[0]) * float(a[1]) ) )
import math
A, B = input().split()

a=int(A)
b=float(B)

if(A==0 or B==0):
  print("0")
else:
  print(math.floor(a*b))