Virtual contest is a way to take part in past contest, as close as possible to participation on time. It is supported only ICPC mode for virtual contests.
If you've seen these problems, a virtual contest is not for you - solve these problems in the archive.
If you just want to solve some problem from a contest, a virtual contest is not for you - solve this problem in the archive.
Never use someone else's code, read the tutorials or communicate with other person during a virtual contest.

No tag edit access

The problem statement has recently been changed. View the changes.

×
G. Bandit Blues

time limit per test

3.5 secondsmemory limit per test

256 megabytesinput

standard inputoutput

standard outputJapate, while traveling through the forest of Mala, saw *N* bags of gold lying in a row. Each bag has some distinct weight of gold between 1 to *N*. Japate can carry only one bag of gold with him, so he uses the following strategy to choose a bag.

Initially, he starts with an empty bag (zero weight). He considers the bags in some order. If the current bag has a higher weight than the bag in his hand, he picks the current bag.

Japate put the bags in some order. Japate realizes that he will pick *A* bags, if he starts picking bags from the front, and will pick *B* bags, if he starts picking bags from the back. By picking we mean replacing the bag in his hand with the current one.

Now he wonders how many permutations of bags are possible, in which he picks *A* bags from the front and *B* bags from back using the above strategy.

Since the answer can be very large, output it modulo 998244353.

Input

The only line of input contains three space separated integers *N* (1 ≤ *N* ≤ 10^{5}), *A* and *B* (0 ≤ *A*, *B* ≤ *N*).

Output

Output a single integer — the number of valid permutations modulo 998244353.

Examples

Input

1 1 1

Output

1

Input

2 1 1

Output

0

Input

2 2 1

Output

1

Input

5 2 2

Output

22

Note

In sample case 1, the only possible permutation is [1]

In sample cases 2 and 3, only two permutations of size 2 are possible:{[1, 2], [2, 1]}. The values of *a* and *b* for first permutation is 2 and 1, and for the second permutation these values are 1 and 2.

In sample case 4, out of 120 permutations of [1, 2, 3, 4, 5] possible, only 22 satisfy the given constraints of *a* and *b*.

Codeforces (c) Copyright 2010-2022 Mike Mirzayanov

The only programming contests Web 2.0 platform

Server time: May/23/2022 15:21:09 (f1).

Desktop version, switch to mobile version.

Supported by

User lists

Name |
---|