peterverebics/CodeNet_Python_118 huggingface dataset:
import sys
import math

sys.setrecursionlimit(10**7)

a, b = input().split()
a = int(a)
b = "".join(b.split("."))
if b == "000":
    b = 0
else:
    i=0
    while b[i] == "0":
        i += 1
    b = int(b[i:])
ans = str(a*b//100)
i=0
while i < len(ans) and ans[i] != ".":
    i += 1
print(ans[:i])
import math
from decimal import Decimal
A, B = map(float, input().split())
A = int(A)
B = Decimal(str(B))
print(math.floor(A*B))
A,B = input().split()
a = int(A)
b = int(B[0]+B[2]+B[3])
print((a*b)//100)
a,b = input().split()
a = int(a)
b = b[:-3] + b[-2:]
b = int(b)
print(a*b//100)
import math
from decimal import Decimal
from decimal import *  
A, B = map(Decimal, input().split())

# A = Decimal(A)
# B = Decimal(B)
# print(A, B)
C = A*B
# print(C)
# print(C)
print(Decimal(math.floor(C)))
a, b = input().split()
b = b.replace(".","")


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

a=int(a)

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

print(a*bi//100)
a,b = input().split()
a = int(a)
b = round(float(b)*100)
print((a*b)//100)
from math import gcd

from math import factorial as f

from math import ceil,floor,sqrt
import math

import bisect
import re
import heapq


from copy import deepcopy
import itertools
from itertools import permutations

from sys import exit

ii = lambda : int(input())
mi = lambda : map(int,input().split())
li = lambda : list(map(int,input().split()))


yes = "Yes"
no = "No"


def main():
    inp = list(input().split())
    a = int(inp[0])
    bstr = ''
    for i in inp[1]:
        if i == '.':
            continue
        bstr+=i
    b = int(bstr)
    ans = a*b
    print(ans//100)


main()
a, b = input().split()
a, b = int(a), round(float(b) * 100)
ans = int(a * b // 100)
print(ans)
from decimal import Decimal
from math import floor

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

print(floor(a*b))
import math
import fractions
a, b = input().split()
a = int(a)
b = fractions.Fraction(b)
print(math.floor(a*b))
import decimal
A, B = map(decimal.Decimal, input().split())
print(int(A * B))
from decimal import Decimal
import math
 
a,b=map(str,input().split())
 
a=Decimal(a)
b=Decimal(b)
 
print(math.floor(a*b))
#!/usr/bin/env python3
a, b = input().split()
a = int(a)
b = int(b[0] + b[2:])
print(a * b // 100)
A,B = list(map(str,input().split()))
A = int(A)
B1,B2 = B.split('.')
ans = int(A) * (int(B1)*100 + int(B2))
print(int(ans//100))
import math
a,b = input().split()
a = int(a);
b = int(b.replace(".", ""));
ans = a * b //100;
print(ans)
import sys, io, os, re
import bisect
from pprint import pprint
from math import sin, cos, pi, radians, sqrt, floor
from copy import copy, deepcopy
from collections import deque
from fractions import gcd
from functools import reduce

def array1(n): return [0] * n
def array2(n, m): return [[0] * m for x in range(n)]
def array3(n, m, l): return [[[0] * l for y in xrange(m)] for x in xrange(n)]

arr = list(sys.stdin.readline().strip().split())
arr[0] = int(arr[0])
arr[1] = int(arr[1][0])*100+int(arr[1][2])*10+int(arr[1][3])

print((arr[0]*arr[1])//100)
a,b=map(str,input().split())
import math
a=int(a)
B=int(b[0]+b[2]+b[3])
print(int(a*B//100))
a, b = map(float, input().split())

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

print (c)
a, b = input().split()
a, b = int(a), int(b.replace(".", ""))

print(a * b // 100)
n, m = input().split()
n = int(n)
m = round(float(m) * 100)
o = n * m
print(int(o//100))
a,b = map(str, input().split())
a = int(a)
b = int(b.replace('.',''))
print(a*b//100)
import math
from decimal import Decimal
A, B = map(Decimal, input().split())
print(int(A*B))
a, b = input().split()
a=int(a)
b = int(b.replace('.',''))
c = a*b
c = c//100
print(c)
import math
a,b=input().split()
tmp = float(b)*1000
#print(int(int(a)*float(b)))
ans = int(a) * int(math.floor(tmp))
#print(ans)

ans = str(ans)
l = len(ans)

if l < 3:
    print(int(0))
else:
    print(int(ans[:l-3]))
a, b = input().split()
b = ''.join(b.split('.'))
print(int(a) * int(b) // 100)
ab = input().split()

A = int(ab[0])
B = int(float(ab[1]) * 100 + .5)

A *= B
print(A // 100)
A,B = map(str,input().split())
B = B.replace('.','')
ans = (int(A)*int(B))//100
print(ans)
# coding:utf-8
from decimal import Decimal

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

print(int(A*B))
a,b=input().split()
a=int(a)
b=(100*float(b)+0.01)
print(a*int(b)//100)
a, b = input().split()
b = int(b.replace('.', ''))
a = int(a)
print(a * b // 100)
import decimal

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

print((a * b).quantize(decimal.Decimal("0"), rounding=decimal.ROUND_FLOOR))
from decimal import *

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

print(int(A*B))
A, B = input().split()
B = list(map(int, B.split('.')))
print(int(A)*(B[0]*100+B[1])//100)
import math
from decimal import Decimal


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




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

S = a * b

ans = S // 100
print(int(ans))
a,b = input().split()
a = int(a)
b = b.replace(".","")
print(a*int(b)//100)
A,B = map(str,input().split())
B = float(B)
B *= 1000
B = int(B)
A = int(A)
#print(A,B,A*B)
ans = (A*B)//1000
ans = int(ans)
print(ans)
A, B = map(float, input().split())
B = B * 100 + 0.1
B = int(B)
print(int(A) * B // 100)
def main():
    from sys import setrecursionlimit, stdin
    from os import environ
    from collections import defaultdict, deque, Counter
    from math import ceil, floor, gcd
    from itertools import accumulate, combinations, combinations_with_replacement
    setrecursionlimit(10**6)
    dbg = (lambda *something: print(*something)) if 'TERM_PROGRAM' in environ else lambda *x: 0
    input = lambda: stdin.readline().rstrip()
    LMIIS = lambda: list(map(int,input().split()))
    II = lambda: int(input())
    P = 10**9+7
    INF = 10**9+10
    sa,sb = input().split()
    a = int(sa)
    b = int(float(sb)*100+0.1)
    print(a*b//100)

    
main()
from decimal import Decimal

A, B = [Decimal(x) for x in input().split()]
print(int(A * B))
a, b = input().split()

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

print(int(ans))
from decimal import Decimal
a,b = input().split()
p = Decimal(b)
q = int(a)
print(int(p*q))
import decimal
A,B = map(decimal.Decimal,input().split())
num = A*B
print(int(num)//1)
from fractions import Fraction
a,b=input().split()
a=Fraction(int(a),1)
b=Fraction(int(b[0]+b[2:]),100)
print(int(a*b))
from decimal import Decimal
import math


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

'''
aaa = [1000000000000000, 0.09]
A = 1000000000000000
B = 0.09
'''


'''
print(B)
print(A)
1000000000000000 0.09
999999999999999
'''
#print(math.floor(Decimal(＃A * B)))


print(int(Decimal("{}".format(aaa[0])) * Decimal("{}".format(aaa[1]))))
import sys
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
read = sys.stdin.buffer.read
sys.setrecursionlimit(10 ** 7)
INF = float('inf')
 
A, B = input().split()
A = int(A)
B = int(B.replace(".", "")) # 100倍
 
ans = A * B // 100
print(ans)
#解放2
from decimal import Decimal
from math import floor
a, b = input().split()
a = int(a)
b = Decimal(b)
print(floor(a*b))
import math
a, b = input().split()
a = int(a)
b = int(b[0])*100 + int(b[2])*10 + int(b[3])
ab = str(a * b)
if len(ab) < 3:
    print(0)
else:
    print(ab[:-2])
import sys

A, B = sys.stdin.readline().rstrip().split(" ")

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

print(answer // 100)
a,b=input().split()
a=int(a)
b1,b2=b.split(".")

ans= a*(int(b1)*100+int(b2[0])*10+int(b2[1]))
ans//=100

print(ans)
from decimal import Decimal

n,m=(input().split())
# print(n,m)
print(int(Decimal(str(m))*Decimal(str(n))))
A,B=map(str,input().split())

C=int(A)
D=int(B[0]+B[2]+B[3])
#ans=(C*D//100)
print(C*D//100)
import sys
 
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
 
A, B = read().split()
 
A = int(A)
B = int(float(B) * 100 + .5)
 
A *= B
print(A // 100)
import math
from decimal import Decimal,  getcontext

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

A, B = input().split()

print(int(Decimal(A) * Decimal(B)))
A, B = input().split()
A = int(A)
if "." in B:
    b, c = map(int, B.split("."))
else:
    b = int(B)
print(A * (b * 100 + c) // 100)
s,ss=input().split()

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

i=int(s)

ii=int(ss)

print(i*ii//100)
from decimal import *
A,B=map(Decimal,input().split())
ans=A*B
print(ans.quantize(Decimal('1'),rounding=ROUND_FLOOR))
from decimal import *
A, B = input().split()
A = Decimal(A)
B = Decimal(B)
print((A * B) * Decimal(100) // Decimal(100))

# A = 10**15
# B = 9.99
# for i in range(0, 10):
#     # _B = i / 100
#     _B = Decimal(i) / Decimal(100)
#     print('_B', _B)
#     print(A * _B, int(A * _B))

#     print('Decimal', Decimal(10**15) * _B)
from sys import stdin
import decimal
input = stdin.readline

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

# print(A, B)

print(int(A * B))
a,b=input().split()
a=int(a)
b=list(b)
if len(b)==1:
    b=int(b[0])*100
elif len(b)==3:
    b=int(b[0])*100+int(b[2])*10
else:
    b=int(b[0])*100+int(b[2])*10+int(b[3])
print((a*b)//100)
import sys
A, B =map(float,input().split())
A = int(A)
B = int((B+sys.float_info.epsilon*5)*100)
ans = A*B//100
print(ans)
A,B = input().split()
B = int(B.replace(".",""))
A = int(A)
print(int(A*B//100))
from decimal import Decimal
import math
a,b = map(Decimal,input().split())

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

tmpA = int(A)
tmpB = int(float(B)*100.0+0.5)

ans = str(tmpA*tmpB)

ans=ans[:len(ans)-2]

if len(ans)==0:
    ans=0

print(ans)
a, b=input().split()
a=int(a)
b=int(b[0]+b[2:])
print(int(a*b//100))
import math
A,B=map(float, input().split())

A=int(A)
B=round(100*B)
a=(A*B//100)
print(a)
# decimal
from decimal import *
import math
a,b=input().split()
a=int(a)
b=Decimal(b)

print(math.floor(a*b))
import sys
import heapq, math
from itertools import zip_longest, permutations, combinations, combinations_with_replacement
from itertools import accumulate, dropwhile, takewhile, groupby
from functools import lru_cache
from copy import deepcopy

A, B = input().split()

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

print(A * B // 100)
from decimal import Decimal
import math
a,b = map(Decimal,input().split())
ans = a*b
print(math.floor(ans))
import sys
sys.setrecursionlimit(10 ** 7)
input = sys.stdin.readline
from decimal import *


a, b = input().split()

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

print(int(a*b))
from decimal import *
A,B = list(map(Decimal, input().split()))
print(int(A*B))
a,b = input().split()
a=int(a)
b=int(b.replace(".",""))
print(a*b//100)
def main():
    a, b = input().split()
    a = int(a)
    b = int(b.replace('.', ''))
    ans = a * b // 100
    print(ans)


if __name__ == '__main__':
    main()
A, B = input().split()
print(int(A) * int(B[0] + B[2] + B[3]) // 100)
def main():
    N = [str(_) for _ in input().split()]
    A = int(N[0])
    B = N[1]

    BB = B.split('.')
    result = A * int(BB[0])
    s = (A * int(BB[1][0]) * 10) + (A * int(BB[1][1]))
    
    result = result * 100 + s
    r = str(result)
    if len(r) <= 2:
        print(0)
    else:
        print(r[0:len(r)-2])

if __name__ == "__main__":
    main()
def main():
    a, b = input().split()
    a = int(a)
    c, d = b.split(".")
    b = int(c)*100+int(d)
    print( a*b//100)
if __name__ == '__main__':
    main()
a, b = map(str, input().split(' '))
a = int(a)
x = ""
for i in b:
    if i == '.':
        continue
    x += i
b = int(x)

# print(a, b)
ans = a * b
ans = str(ans)
# print(ans)
if (len(ans) <= 2):
    print ('0')
else:
    print(ans[:-2])

# ans = str(ans)
# out = ""
# for i in ans:
#     if i == '.':
#         break
#     out += i

# # if (len(out) == 0):
# #     out = "0"
# print(out)
from decimal import Decimal

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


if __name__ == "__main__":
    main()
import decimal
t = input().split()
a = int(t[0])
b = decimal.Decimal(t[1])
print(int(a*b))
import numpy as np
a,b =list(input().split(" "))
a = np.int(a)
b = np.float128(b)
ret = int(np.floor(a * b))

print(ret)
a,b = input().split()
ai = int(a)
bi = int((float(b) + 1e-3)*100)
print(ai*bi//100)
a,b = input().split()
a = int(a)
b = b.split('.')
if(len(b) == 1):
    print(a*b)
    exit()

ans = 0
ans += a*int(b[0])
ans += a*int(b[1])//100
print(ans)
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)
# -*- coding: utf-8 -*-
from decimal import Decimal  
import math

a, b = input().split()

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

x = a * b

print(math.floor(int(a) * Decimal(b)))
from decimal import *
a,b=open(0).read().split()
print(int(Decimal(a)*Decimal(b)))
from decimal import Decimal

a, b = map(Decimal, input().split())
ret = (int)(a * b)
print("{}".format(ret))
import sys
from decimal import *
a,b = map(str, sys.stdin.readline().rstrip("\n").split())
a = Decimal(a)
b = Decimal(b)
c = a*b
c.quantize(Decimal('0'), rounding=ROUND_DOWN)
print(int(c))
#import math
 
a,b=input().split()
a=int(a)
b=float(b)
b=int(b*100+0.9999)
 
print(a*b//100)
import decimal

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



if __name__ == '__main__':
    main()
a,b=map(str,input().split())
a=int(a)
b=100*int(b[0])+10*int(b[2])+1*int(b[3])
print((a*b)//100)
import decimal

A,B = input().split()

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

ans = decimal.Decimal(a*b)

print(int(ans))
import math

a, b = input().split()
a = int(a)
b = int(100*float(b)+0.5)

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

a = Decimal(a)
b = Decimal(b)
ans = a * b
ans = ans.quantize(Decimal(0),rounding=ROUND_FLOOR)
print(ans)
A,B=input().split()
A = int(A)
B = B.replace('.','')
B = int(B)
ans = int(A*B//100)
print(ans)
import fractions
a,b=input().split()
a=int(a)
b=int(b[0])*100+int(b[2])*10+int(b[3])
print(int(a*b//100))
#-*-coding:utf-8-*-

import sys
from decimal import Decimal

def main():
    a,b=input().split()
    a = Decimal(a)
    b = Decimal(b)
    ans = a * b
    ans = str(ans)
    idx = ans.index(".")
    print(ans[:idx])

if __name__ == "__main__":
    main()
from decimal import Decimal
A,B =map(Decimal,input().split())
print(int(A*B))
A, B = input().split()

A = int(A)

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

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

a, b = map(Decimal, input().split())
ans = a * b
print(int(ans))
import sys
input = sys.stdin.readline

a, b = input().rstrip().split()

b = "".join([b[0], b[2], b[3]])

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

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

ans = (int(a) * int(1000*b))//1000

print(ans)
import sys
import  math
import fractions
from collections import defaultdict
stdin = sys.stdin
     
ns = lambda: stdin.readline().rstrip()
ni = lambda: int(stdin.readline().rstrip())
nm = lambda: map(int, stdin.readline().split())
nl = lambda: list(map(int, stdin.readline().split()))

A2,B2=map(str, stdin.readline().split())
A=int(A2)
tmp=list(B2)


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

ans=0
ans+=B1*A
ans+=(A*B2)//10
ans+=(A*B3)//100
if(10<=(((A*B2)%10)+(((A*B3)%100)//10))):
    ans+=1

print(ans)
from decimal import Decimal
import math

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

ans = math.floor(c*d)

print(ans)
A, B = map(str, input().split())
A = int(A)
C = B[0]+B[2]+B[3]
C = int(C)
print(A*C//100)
import numpy as np


def main(A, B):
    ans = int(A) * int(round(B * 100))
    ans //= 100
    return ans


A, B = map(float, input().split())
print(main(A, B))
from decimal import Decimal

A,B = input().split()

A = int(A)
B = Decimal(B)
#print (A)
#print (B)

print (int(A*B))
from decimal import Decimal
A, B = map(Decimal, input().split())
print(int(A * B))
a, b = input().split()
a = int(a)
b1, b2 = b.split('.')
b = int(b1 + b2)
print(a * b // 100)
import sys
 
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
 
A, B = read().split()
 
A = int(A)
B = int(float(B) * 100 + .1)
 
A *= B
print(A // 100)
import decimal

A,B = map(decimal.Decimal,input().split())
print((A*B).quantize(0,rounding=decimal.ROUND_FLOOR))
from decimal import *

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

ans = Decimal(A) * Decimal(B)
# ans = A * 100 * B * 100 / 10000

# print('-----output-----')
print(int(ans))
A,B = map(str, input().split())

B = list(B)
B.remove(".")

A = int(A)
B = int(B[0]) * 100 + int(B[1]) * 10 + int(B[2])

print(A * B // 100)
A, B = input().split()
 
import decimal, math
A = decimal.Decimal(A)
B = decimal.Decimal(B)
 
print(math.floor(A*B))
from decimal import Decimal
a,b = input().split()
a = int(a)
b = Decimal(b)
p = a*b % 1
ans = int(a*b - p)
print(ans)
a,b=map(float,input().split())
a=int(a//1)
bigb=int((b*1000)//1)
a_front=a//1000
a_back=a-a_front*1000
#print(a,b,bigb,a_front,a_back)
 
ans_front=a_front*bigb
ans_back=a_back*b
ans_back=int(ans_back//1)
print(int(ans_front+ans_back))
a, b = input().split()
a = int( a )
b = int( 1000 * float( b ) )
m = a * b
m = m // 1000

print( m )
import decimal

a, b = input().split()

a_dec = decimal.Decimal(a)
b_dec = decimal.Decimal(b)

ans = int(a_dec * b_dec)

print(ans)
a=input().split()

b=int(a[0])
lst=list(a[1])

del lst[-3]

c=""
for i in lst:
    c=c+i
c=int(c)

print (int(b*c//100))
x = input().split()
a = int(x[0])
c = ''
for i in range(len(x[1])):
    if (x[1][i] != '.'):
        c += x[1][i]
b = int(c)
print(a * b // 100)
from decimal import *

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

print(Decimal(A * B).quantize(Decimal('0'), rounding=ROUND_DOWN))
a, b = input().split()
a = int(a)
b = int(b.replace('.', ''))
print(a * b // 100)
A, B = input().split()
A, B = int(A), int(B.replace(".", ""))
#A, B = int(A), int(float(B)*100)
print(A*B//100)
A, B = list(input().split())

A = int(A)
B = int(B[0] + B[2:])

C = A * B // 100

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

A,B = (x for x in input().split())

A = Decimal(str(A))

B = Decimal(str(B))

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

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

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


print(int(a*b))
from decimal import *
a,b=input().split()
a=Decimal(a)
b=Decimal(b)
ans=int(a*b)
print(ans)
#! /usr/bin/env python3
a, b = input().split()
c = d = 0
if float(a) > 0 and '.' in a : c = a[::-1].find('.')
if float(b) > 0 and '.' in b : d = b[::-1].find('.')
t = int(a.replace('.', '')) * int(b.replace('.', ''))
if t == 0 or len(str(t)) < c+d:
    print(0)
elif c+d < 1:
    print(t)
else:
    print(str(t)[:-(c+d)])
from decimal import*

a,b=input().split()
a=Decimal(a)
b=Decimal(b)
print(a*b//1)
a,b = map(str,input().split())
from decimal import *
import math
result = Decimal(a) * Decimal(b)
print(math.floor(result))
from decimal import Decimal
'''
def main():
    a, b = input().split(" ")
    a = int(a)
    b = Decimal(b)
    print(int(a*b))
   '''
def main():
    a, b = input().split(" ")
    a = int(a)
    b = int(b.replace(".","") )
    print(a*b // 100)

if __name__ == "__main__":
    main()
from decimal import Decimal,ROUND_FLOOR
a,b=input().split()
b=Decimal(b)*100
print(int(int(a)*b//100))
import math
import decimal
a, b = input().split()
c=decimal.Decimal(a)
d=decimal.Decimal(b)
dd=c*d
ans=math.floor(dd)
print(int(ans))
import math
from decimal import Decimal, ROUND_HALF_UP, ROUND_HALF_EVEN

A,B = input().split()

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

ans=(a*b*100)//100
print(ans)
# C - Multiplication 3
str_a, str_b = input().split()

a = int(str_a)
#print(a)

# 小数点を外した後 数値化することで、Bを誤差なく100倍できる
b = int(str_b.replace('.', ''))
#print(b)

print(a * b // 100)
a, b = input().split()
a = int(a)
c = b[0] + b[2:]
c = int(c)
print((a*c)//100)
from decimal import *
from math import *

getcontext().prec = 10000
a, b = map(Decimal, input().split())
print(floor(a * b))
a,b=input().split()
a=int(a)
b=b.replace('.','')
b=int(b)
print((a*b)//100)
from math import floor
from decimal import Decimal
a,b = map(Decimal, input().split())
c = a*b
print(floor(c))
import math

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

print(math.floor((a*b)//1000))
def sep():
    return map(int,input().strip().split(" "))
def lis():
    return list(sep())

a,b=input().strip().split(" ")
b=b.replace('.','')
b=int(b)
ans=int(a)*b
print(ans//100)
from decimal import Decimal
import math
a, b = input().split()

print(math.floor(Decimal(a)*Decimal(b)))
a, b = input().split()
a = int(a)
b = b.replace('.', '')
c = 0
for i, n in enumerate(map(int, reversed(b))):
    c += n * 10 ** i

ans = a * c
print(ans // 100)
from decimal import Decimal

a, b = input().split()
a = Decimal(a)
b = Decimal(b)
c = a*b
print(int(a*b))
s,t =input().split()
a = int(s)
b = int(float(t)*1000)
ans = a*b
print(ans//1000)
import math
import fractions
a, b = input().split()
a = int(a)
b = fractions.Fraction(b)
print(math.floor(a * b))
dat = input().split(' ')
a = int(dat[0])
b_top = int(dat[-1].split('.')[0])
b_bot = int(dat[-1].split('.')[1])
b = b_top*100 + b_bot

ans = a * b
if ans < 100:
    print(0)
else:
    print(str(ans)[:-2])
a,b=map(str,input().split())
b=b[:-3]+b[-2:]
a=int(a)
b=int(b)
c=a*b
print(c//100)
A, B = input().split()
A = int(A)
B = int(B.replace('.', ''))
print(A * B // 100)
from decimal import *
import sys
sys.setrecursionlimit(10**6)

a,b=input().split()

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

print(ans)
from decimal import *
A, B = input().split()
a = Decimal(A)
b = Decimal(B)
print(Decimal(a*b).quantize(Decimal('0'), rounding=ROUND_DOWN))
from decimal import *
a,b = map(Decimal, input().split())
a=int(a)
#print(a)

b2=int(b*100)
#print(b2)

ans=a*b2
#print(ans)

ans=int(ans//100)

print(ans)
A,B=input().split()
A=int(A)
B=int(B[0]+B[2]+B[3])
X=str(A*B)
if len(X)>2:
  print(X[:-2])
else:
  print(0)
from decimal import Decimal
a, b = map(str, input().split())
a = Decimal(a)
b = Decimal(b)
ab = str(a*b).split(".")
print(ab[0])
#3問目
import math
from decimal import Decimal 
AB = input().split()
A = int(AB[0])
B = Decimal(AB[1])

print(int(A * B))
A, B = input().split()
A = int(A)
# B = int(float(B) * 100)
B = B.split(".")
B = int(B[0]) * 100 + int(B[1])
# print(B)
print(A * B // 100)
def main():
    a, b = input().split()
    a = int(a)
    b = round(float(b) * 100)
    print(a * b // 100)


if __name__ == '__main__':
    main()
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.replace(".", ""))
print(A * B // 100)
import decimal
 
def main ():
  a,b = list(input().split())
  a = decimal.Decimal(a)
  b = decimal.Decimal(b)
  print(int(a * b))
 
main()
A, B = map(float, input().split(' '))
A = int(A)
B = round(B * (10 ** 2))
print(int((A * B)//10**2))
from decimal import Decimal
a,b=input().split()
x=int(a)
y=Decimal(b)
c=x*y
ans=int(c)
print(ans)
A, B = input().split()
A = int(A)

b1,b2 = map(int,B.split("."))
B = 100*b1 + b2
print((A*B)//100)
a,b = input().split()
print( int(a) * int(b.replace('.','')) // 100)
from decimal import Decimal

A,B = map(Decimal,input().split())
ans = int(A*B)
print(ans)
a,b=list(map(float, input().split()))
a=int(a)
b=round(b*100)
print((a*b)//100)
S = input().split()
A = int(S[0])
B = float(S[1])

print((A * int((B + 0.009 ) * 100)) // 100)
A, B = map(int, input().replace('.', '').split())
print(A*B//100)
A, B = input().split(' ')
print(int(A) * int(B.replace('.', '')) // 100)
import math
import os
import random
import re
import sys
str=input().split()
a=int(str[0])
b=float(str[1])
b=round(b*100)
ans=a*b
print(ans//100)
from decimal import *

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