This problem is used in private contest:逻辑表达式/分支嵌套