In 10660 B.C., we will assume that, in Scundu, there has been the most epic battle to this day (because we can't prove that it didn't happen). The battle between the scundenians (the name of the people from scundu) and the invading forces was very close, so close that it was perfectly even and both sides decided to call for reinforcements. We say that the scundenians won the battle if, in every moment of the battle (since the reinforcements start to arrive), the number of scundenians engaged in battle was greater or equal to the number of invading forces engaged in battle.
Knowing the number of scundenians that come as reinforcements, the same number of invading forces that come as reinforcements and that at every second there is exactly one soldier arriving at battle (either scundenian or invader), find the number of ways the reinforcements can come so that the scundenians win The Battle of Scundu
We consider that 2 ways of the reinforcements and to come are different if at any second we have (where and represent the type of the soldier that comes at the second , scundenian or invader).
Input data
You receive one integer from the console (), the number of soldiers each side gets as reinforcements.
Output data
You have to print one number , the number of ways the scundenians win the Battle of Scundu. Because the number can be very big, you have to output the number modulo .
Constraints and clarifications
- For points it is guaranteed that ;
- For another points it is guaranteed that ;
- For the last points, we have .
Example
stdin
3
stdout
5
Explanation
If we represent the reinforcements as a sequence where means that at the second a scundenian arrived at the battle, while means that at the second an invader arrived at the battle, we can describe the possible ways the reinforcements can come as:
SSSIII
SSISII
SSIISI
SISSII
SISISI