If there exists a number greater than the Maximum element of the array that can be formed using the numbers of array
if ( i > arr [ n - 1 ] and table [ i ] == 10 ** 9 ) : NEW_LINE INDENT ans = i NEW_LINE break NEW_LINE DEDENT return ans NEW_LINE