An element will occur ' powa ' times in total of which ' powla ' times it will be last element and ' powfa ' times it will be first element
powa = C [ n - 1 ] [ k - 1 ] NEW_LINE for i in range ( n ) : NEW_LINE INDENT powla = C [ i ] [ k - 1 ] NEW_LINE powfa = C [ n - i - 1 ] [ k - 1 ] NEW_LINE DEDENT