Simple "calculator" for the rule of three
