The problem of parentheses matching in the data structure, verifying whether the input parentheses are paired