In a packaging machine, there are toy Santa Clauses and Snow Maidens. The machine can create packages in the following ways:
One Santa Claus in one of two different types of packages;
One Snow Maiden;
A Santa Claus and a Snow Maiden together in one package.
After all the toys are packaged, the machine will produce a sequence of packages of different types. How many distinct sequences of packages can the machine produce?
The first line of the input contains an integer (1 \leq n \leq 10^6).
Output a single integer — the number of different packaging sequences, calculated modulo .
Example 1