#1577. [愚人节 2026 J] 文化课学习中

[愚人节 2026 J] 文化课学习中

Description

有函数 f:RRf:\mathbb R\to\mathbb R,对于 x,yR\forall x,y\in\mathbb R,满足 f(x)f(y)=f(x+y)f(xy)f(x)f(y)=f(x+y)^{f(x-y)}

给定 n,mn,m,求 $\sum\limits_{x=1}^{n}\sum\limits_{y=1}^{m}\dfrac{f(x)}{f(y)}\cdot\dfrac{f(x+y)}{f(x-y)}$ 对 998244853998244853 取模的结果的所有可能的值的乘积对 998244853\textbf{998244853} 取模的结果

Format

Input

一行两个正整数 n,mn,m

Output

一行一个非负正整数,即答案。

Limitation

1n,m1091\le n,m\le 10^9