Stringorial
Rabbit Bryan is a romantic person. He likes to dream about wonderful things. Recently he dreamed that stings are similar to numbers... "But we can add it!" – realized Bryan, than thought again and decided that he can multiply it!!! For example, let’s multiply 2 strings A=ab and B=cde. We have A×B = (ab)×(cde) = (a×cde) + (b×cde) = acde + bcde = acdebcde. It's really simple!!! While multiplying we add second sting to each letter from the first sting.
This "multiplication" is different from the regular one: order of multipliers is important. And to calculate the factorial as a multiplication of sequential strings: a·b·c·...·z·aa·ab·...·az·ba·...·zz·aaa·... we need ... just check yourself how long the result is.
Input
The only line at the input contains integer n (1 ≤ n ≤ 10000) – number of multipliers in the stringorial.
Output
You need to output the length of the resulting string.