#ABC134F. [ABC134F] Permutation Oddness

[ABC134F] Permutation Oddness

提示:该题测试数据补录中,暂不支持评测提交。

No testdata at current.

No submission language available for this problem.

Score : 600600 points

Problem Statement

Let us define the oddness of a permutation pp = {p1, p2, ..., pnp_1,\ p_2,\ ...,\ p_n} of {1, 2, ..., n1,\ 2,\ ...,\ n} as ∑i=1n∣i−pi∣\sum_{i = 1}^n |i - p_i|.

Find the number of permutations of {1, 2, ..., n1,\ 2,\ ...,\ n} of oddness kk, modulo 109+710^9+7.

Constraints

  • All values in input are integers.
  • 1≤n≤501 \leq n \leq 50
  • 0≤k≤n20 \leq k \leq n^2

Input

Input is given from Standard Input in the following format:

nn kk

Output

Print the number of permutations of {1, 2, ..., n1,\ 2,\ ...,\ n} of oddness kk, modulo 109+710^9+7.

3 2
2

There are six permutations of {1, 2, 31,\ 2,\ 3}. Among them, two have oddness of 22: {2, 1, 32,\ 1,\ 3} and {1, 3, 21,\ 3,\ 2}.

39 14
74764168