Master Syllogism: Conquer All-Some-No-Not Problems