#pragma GCC target("avx2") #pragma GCC optimize("Ofast") #pragma GCC optimize("unroll-loops") #include constexpr int mod=1000000007; int K,N,M,a[100000]; long long c[200],x[100000]; int main(){ scanf("%d %d %d",&K,&N,&M); for(int i=0;i