N,M=map(int,input().split())
b=[0]*(N+1)
dp=[0]*(N+2);dp[N]=1
for i in range(M):b[int(input())]=1
for i in range(N):
    if b[N-i-1]:continue
    dp[N-i-1]=(dp[N-i]+dp[N-i+1])%1000000007
print(dp[0]) N,M=map(int,input().split()) N map(int,input().split()) map int input().split() ().split () input split M b=[0]*(N+1) b [0]*(N+1) [0] 0 N+1 N 1 dp=[0]*(N+2) dp [0]*(N+2) [0] 0 N+2 N 2 dp[N]=1 dp[N] dp N 1 for i in range(M):b[int(input())]=1 i range(M) range M for i in range(N):
    if b[N-i-1]:continue
    dp[N-i-1]=(dp[N-i]+dp[N-i+1])%1000000007 i range(N) range N if b[N-i-1]:continue
     b[N-i-1] b N-i-1 N-i N i 1 dp[N-i-1]=(dp[N-i]+dp[N-i+1])%1000000007 dp[N-i-1] dp N-i-1 N-i N i 1 (dp[N-i]+dp[N-i+1])%1000000007 dp[N-i]+dp[N-i+1] dp[N-i] dp N-i N i dp[N-i+1] dp N-i+1 N-i N i 1 1000000007 print(dp[0]) print dp[0] dp 0 b=[0]*(N+1) [0]*(N+1) b N,M=map(int,input().split()) map(int,input().split()) N dp=[0]*(N+2) [0]*(N+2) dp M=map(int,input().split()) map(int,input().split()) M
N,M=map(int,input().split())
b=[0]*(N+1)
dp=[0]*(N+2);dp[N]=1
for i in range(M):b[int(input())]=1
for i in range(N):
    if b[N-i-1]:continue
    dp[N-i-1]=(dp[N-i]+dp[N-i+1])%1000000007
print(dp[0])