|시간 제한||메모리 제한||제출||정답||맞은 사람||정답 비율|
|2 초||512 MB||0||0||0||0.000%|
Little Semyon plays with a board. Initially, he has a big board with $n$ rows and $m$ columns, with some cells painted black. Then, he starts to paint other cells black using the following rule: if three corners of some rectangle are already black, he can paint the remaining corner black as well. However, not every initial board satisfies Semyon: he wants to be able to paint the whole board black, and the initial board should contain the least possible number of black cells. Your task is to find the number of initial boards with given size which can satisfy Semyon.
The only input line contains two integers $n$ and $m$ ($1 \le n, m \le 10^9$), the numbers of rows and columns respectively.
You should print the number of boards which can satisfy Semyon. As this number can be very large, print it modulo prime number $998\,244\,353$.
In the second sample, the satisfying boards are exactly the boards with $3$ black cells.