#!/usr/bin/env python3

from sys import stdin, setrecursionlimit
from decimal import Decimal


def main():
    input = stdin.readline
    a, b = map(str, input().split())
    a = Decimal(a)
    b = Decimal(b)
    print(int(a * b))


if __name__ == "__main__":
    setrecursionlimit(10000)
    main()

0cda47481d4e0801a4a9b94a3f3dd0b9c8054733
<mask token>

<mask token>


def main():
    input = stdin.readline
    a, b = map(str, input().split())
    a = Decimal(a)
    b = Decimal(b)
    print(int(a * b))


<mask token>

<mask token>


def main():
    input = stdin.readline
    a, b = map(str, input().split())
    a = Decimal(a)
    b = Decimal(b)
    print(int(a * b))


if __name__ == '__main__':
    setrecursionlimit(10000)
    main()

from sys import stdin, setrecursionlimit
from decimal import Decimal


def main():
    input = stdin.readline
    a, b = map(str, input().split())
    a = Decimal(a)
    b = Decimal(b)
    print(int(a * b))


if __name__ == '__main__':
    setrecursionlimit(10000)
    main()

#!/usr/bin/env python3

from sys import stdin, setrecursionlimit
from decimal import Decimal


def main():
    input = stdin.readline
    a, b = map(str, input().split())
    a = Decimal(a)
    b = Decimal(b)
    print(int(a * b))


if __name__ == "__main__":
    setrecursionlimit(10000)
    main()
