from decimal import * def solve(): getcontext().prec = 25 v, t = input().split() print(int(Decimal(v) * Decimal(t))) if __name__=="__main__": solve()