FCIPL
This year $p$ footballers and $q$ cricketers have been invited to participate in IPL (Indian Programming League) as guests. You have to accommodate them in $r$ rooms such that-
Find the number of ways to place the players. Note though, that all the rooms are identical. But each of the cricketers and footballers are unique.
Since the number of ways can be very large, print the answer modulo $998,244,353$.
For each test case, output the number of ways to place the players modulo $998,244,353$.
4
2 1 4
2 4 4
2 5 4
2 8 4
0
3
10
609
Example case 2: Three possible ways are:
Please note that the rooms are identical.