#Lutece1750. 奇怪的排列题

奇怪的排列题

Migrated from Lutece 1750 奇怪的排列题

All parts of this problem, including description, images, samples, data and checker, might be broken. If you find bugs in this problem, please contact the admins.

Description

给定 n,mn,m,易知对于 1n+m1\ldots n+m,这 (n+m)(n+m) 个数总共有 (n+m)!(n+m)! 个排列,我们定义其中一个排列 pp 是奇怪的,要求对于 11mm 之间的每个数 ii,都满足 piip_i\neq i,请求出奇怪的排列的数量,对 109+710^9+7 取模

Input

一行两个整数 n,mn,m0n50,1m500\le n\le 50,1\le m\le 50)。

Output

奇怪的排列数,对 109+710^9+7 取模。

Samples

2 1
4

Note

满足条件的排列有 (2,1,3),(2,3,1),(3,1,2),(3,2,1)(2, 1, 3), (2, 3, 1), (3, 1, 2), (3, 2, 1)