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