from decimal import Decimal as dec



def main():

    a, b = list(map(dec, input().split()))

    print((int(dec(a*b))))



if __name__ == "__main__":

    main()
from decimal import Decimal as dec



def main():

    a, b = list(map(dec, input().split()))

    print((int(a*b)))

    



if __name__ == "__main__":

    main()
from decimal import Decimal as dec


def main():
    a, b = list(map(dec, input().split()))
    print((int(dec(a * b))))


if __name__ == "__main__":
    main()

from decimal import Decimal as dec


def main():
    a, b = list(map(dec, input().split()))
    print((int(a * b)))


if __name__ == "__main__":
    main()

-    print((int(dec(a * b)))) +    print((int(a * b)))