#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
const int MOD = 1e9 + 7;
void precompute_factorials(vector<int>& factorial) {
factorial[0] = 1;
for (int i = 1; i < factorial.size(); i++) {
factorial[i] = (1LL * factorial[i - 1] * i) % MOD;
}
}
int permutations(const vector<int>& p1, int a, int b) {
int n = p1.size();
int validPermutations = 0;
vector<int> p2(n);
for (int i = 0; i < n; ++i) {
p2[i] = i + 1;
}
do {
int p1Wins = 0, p2Wins = 0;
for (int i = 0; i < n; ++i) {
if (p1[i] > p2[i]) {
p1Wins++;
} else if (p1[i] < p2[i]) {
p2Wins++;
}
}
if (p1Wins == a && p2Wins == b) {
validPermutations++;
}
} while (next_permutation(p2.begin(), p2.end()));
return validPermutations;
}
int main() {
int n, a, b;
cin >> n >> a >> b;
vector<int> factorial(n + 1);
vector<int> p1(n);
precompute_factorials(factorial);
for (int i = 0; i < n; i++) {
p1[i] = i + 1;
}
int a = permutations(p1, a, b);
cout << (1LL * a * factorial[n]) % MOD << endl;
return 0;
}