Two Permutations
시간 제한2초메모리 제한256 MB
길이 n인 두 순열의 각 자리 최댓값의 합이 k가 되는 순열 쌍의 개수를 1e9+7로 나눈 나머지로 구한다.
문제
Find the number of pairs of permutations of length such that .
As the answer may be large, find it modulo .
입력
The only line contains two integers, and (, ).
출력
Print the answer modulo .