Find a simple formula for An, the number of permutations the can be printed on an input of n distinct characters to a stack