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

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

    print((int(N * M)))





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

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


if __name__ == "__main__":
    main()

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