#!/usr/bin/python from gmpy2 import mpz a,b,c,d = map(mpz, open("mul3.in", "r").read().split()) open("mul3.a", "w").write("%d\n" % (a * b * c * d))