def main():

    from decimal import Decimal

    a, b = (Decimal(i) for i in input().split())

    print((int(a*b)))





if __name__ == '__main__':

    main()

def main():

    from decimal import Decimal as D

    N, M = (D(i) for i in input().split())

    print((int(N*M)))





if __name__ == '__main__':

    main()

def main():
    from decimal import Decimal

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


if __name__ == "__main__":
    main()

def main():
    from decimal import Decimal as D

    N, M = (D(i) for i in input().split())
    print((int(N * M)))


if __name__ == "__main__":
    main()

-    from decimal import Decimal +    from decimal import Decimal as D -    a, b = (Decimal(i) for i in input().split()) -    print((int(a * b))) +    N, M = (D(i) for i in input().split()) +    print((int(N * M)))