LOGIC CALCULATOR

RESULT: