WolframAlpha computational knowledge AI
Minimum[Maximum[2/3,1/4], Maximum[2/3, (1-1/2)], Maximum[1/4, 1-1/2]]