package yukicoder; import java.util.*; public class P44 { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc = new Scanner(System.in); int N = sc.nextInt(); long[] ans = new long[N+1]; ans[1] = 1; ans[2] = 2; for(int i=3; i=n-k+1; i--) { ans = (ans * i)%mod; } for(long i=k; 0