Given n orders, each with a pickup and a delivery, count the sequences of all 2n events where every delivery comes after its own pickup. Return the count modulo 1000000007. The input is JSON {n}.
Input: JSON {n}.
Output: Integer — the number of valid sequences modulo 1e9+7.
Input: {"n":1}
Output: 1
Explanation: Pickup then delivery.Input: {"n":2}
Output: 6
Explanation: Six valid orderings.Input: {"n":3}
Output: 90
Explanation: Ninety valid orderings.1<=n<=500