#include <stdio.h>
int main()
{
long long int a, b, c, d;
scanf("%lld %lld %lld %lld",&a
, &b
, &c
, &d
);
a = a%100;
b = b%100;
c = c%100;
d = d%100;
long long int mul = a;
mul = (mul*b)%100;
mul = (mul*c)%100;
mul = (mul*d)%100;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiAKaW50IG1haW4oKQp7CiAgICBsb25nIGxvbmcgaW50IGEsIGIsIGMsIGQ7CiAgICBzY2FuZigiJWxsZCAlbGxkICVsbGQgJWxsZCIsJmEsICZiLCAmYywgJmQpOwogICAgCiAgICBhID0gYSUxMDA7CiAgICBiID0gYiUxMDA7CiAgICBjID0gYyUxMDA7CiAgICBkID0gZCUxMDA7CiAgICAKICAgIGxvbmcgbG9uZyBpbnQgbXVsID0gYTsKICAgIG11bCA9IChtdWwqYiklMTAwOwogICAgbXVsID0gKG11bCpjKSUxMDA7CiAgICBtdWwgPSAobXVsKmQpJTEwMDsKICAgIHByaW50ZigiJTAzbGxkIixtdWwlMTAwKTsKCn0=