We derive a formula for the number of ways in which n factors can be completely parenthesized, depending on whether the order of factors is important or not.