if (all(1,2,3)*any(5,6) < 21) { print "no alcohol" } if (all(1,2,3)*any(5,6) < 18) { print "no entry" } if (any(1,2,3)*all(5,6) < 18) { print "under-age" }