(The following content is just the background of the problem and has no relationship with the real competition judge system)
Welcome to the GXCPC (Gambling x Competitive Programming Contest)! As a brand new event that combines competitive programming contests and gambling, it has introduced a new judge system - CRJS (Completely Random Judge System).
There is only one problem in this contest. Participants can click the submit button at any time, and the judge system will generate results from {accepted, rejected} randomly. The results will be hidden from all participants (including the participant who made the submission) until the end of the game. One can compete for the championship if at least one result of his submissions is 'accepted'. The penalty for a participant equals (the number of submissions before his first submission with the result 'accepted') $$$\times 20$$$ + the submission time of his first submission with the result 'accepted'. Among all those who can compete for the championship, the one with the least penalty will be crowned champion. If more than one person's penalty is equal to the minimum penalty of all, then those people will share the honor of champion.
Due to the ridiculous mechanism of the contest and the fact that this was the first year the contest was held, only Colin and Eva were attracted as participants. Colin makes $$$n$$$ submissions during the contest, the $$$i$$$-th is at the $$$x_i$$$-th minute. Eva makes $$$m$$$ submissions during the contest, the $$$i$$$-th is at the $$$y_i$$$-th minute.
Now Colin wants to know, among all $$$2^{n+m}$$$ possible results, how many of them will make Colin win the championship?
The first line contains two integers $$$n,m\ (1\le n,m\le 10^5)$$$, representing the number of submissions made by Colin and Eva respectively.
The second line contains $$$n$$$ integers $$$x_1,x_2,\dots, x_n\ (1\le x_1\le x_2\le \dots \le x_n\le 10^9)$$$, representing the time of each submission made by Colin.
The third line contains $$$m$$$ integers $$$y_1,y_2,\dots, y_m\ (1\le y_1\le y_2\le \dots \le y_m\le 10^9)$$$, representing the time of each submission made by Eva.
A single integer, representing the answer modulo $$$998244353$$$.
1 24010 20
2
The table below shows all the possibilities (C for Colin and E for Eva):
| Name |
|---|


