André and Bertrand are campaigning to become the new CPT president. After a long campaign André was able to quench victory, receiving votes to Bertrand’s votes.
Reyno noticed that as the votes were tallied, an interesting pattern emerged. André received the first votes and at every point of the tally, he was at least votes ahead of Bertrand.
Reyno, always a fan of enumeration, wondered to himself: in how many ways could the tally have played out such that the above condition holds? Rather than solving it himself, he has enlisted your help. Don’t let him down!
Each test case contains three integers .
For of the cases, .
For each test case, output the number of ways the voting could have played out, modulo .
2 1 0
6 5 0
11 8 1
Explanation for Sample Input
In the first case, the two ways the vote could have went is
A is a
vote for André and
B is a vote for Bertrand.
BAA is not a valid since after the first vote,
Bertrand has more votes than André.