SP15433 UCV2013E - Greedy Walking
Description
Reginald is an N-dimensional traveler who wants to return to Filipistonia's Kingdom. He has an Obsessive-compulsive disorder in the way he travels so he can only do it following particular rules:
1. Every step is exactly one unit long.
2. He only moves in one dimension at a time.
3. He only travels along the positive direction for each dimension.
For example, when traveling on a two-dimensional place. He can travel along either the X or the Y axis at any given time, but never on both at the same time. Moreover, since he only travels along the positive direction and every step is one unit long, his only possible moves are (+1, 0) and (0, +1).

As you can see, he is a Greedy Walker: once he makes a decision he assumes it is the correct and he never goes back.
Given a starting position in an N-dimensional space (x $ ^{1} $ i, x $ ^{2} $ i, ... ,x $ ^{n} $ i) your task is to count the number of different travels he can make to position (x $ ^{1} $ f, x $ ^{2} $ f, ... , x $ ^{n} $ f) modulo 1000000007.
Input Format
The input contains several test cases, each one corresponding to a single travel. Each test case consists of a single line with one integer (1
Output Format
For each travel output a single line with one integer, the number of different travels that exist from the initial position to the final position modulo 1000000007.