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