p,q = map(float,input().split()) p *= 100000 q *= 100000 p = int(p) q = int(q) if (100000-p)*q*100000