Not able to find the number of possible balanced parenthesis