def popcount(x): ret = 0 while (x): x = x ^ (-x & x) ret += 1 return ret MOD = 10**9+7 [n,k] = map(int,input().split(' ')) if k > 0: a = list(map(int,input().split(' '))) else: a = [] fact = [1] for i in range(1,n+1): fact.append(fact[i-1] * i % MOD) a.extend([0,(1<