There are n+1 identical balls on which the terms nC0,nC1,nC2..........nCn are written, each ball carrying a different term (not necessarily the value of the term). The total number of ways in which the balls can be arranged in a row so that the values of numbers on the first and the last are equal, is