A interesting but wrong parentheses validity api