N,M=map(int,input().split())
A=[0]*M
for i in range(M):
    A[i]=int(input())
A=set(A)

K=10**9+7

X=[0]*(N+1)
X[0]=1
X[1]=1*(1 not in A)

for i in range(2,N+1):
    if i not in  A:
        X[i]=(X[i-1]+X[i-2])%K
print(X[-1]) N,M=map(int,input().split()) N map(int,input().split()) map int input().split() ().split () input split M A=[0]*M A [0]*M [0] 0 M for i in range(M):
    A[i]=int(input()) i range(M) range M A[i]=int(input()) A[i] A i int(input()) int input() input A=set(A) A set(A) set A K=10**9+7 K 10**9+7 10**9 10 9 7 X=[0]*(N+1) X [0]*(N+1) [0] 0 N+1 N 1 X[0]=1 X[0] X 0 1 X[1]=1*(1 not in A) X[1] X 1 1*(1 not in A) 1 1 not in A 1 A for i in range(2,N+1):
    if i not in  A:
        X[i]=(X[i-1]+X[i-2])%K i range(2,N+1) range 2 N+1 N 1 if i not in  A:
        X[i]=(X[i-1]+X[i-2])%K i not in  A i A X[i]=(X[i-1]+X[i-2])%K X[i] X i (X[i-1]+X[i-2])%K X[i-1]+X[i-2] X[i-1] X i-1 i 1 X[i-2] X i-2 i 2 K print(X[-1]) print X[-1] X -1 K=10**9+7 10**9+7 K M=map(int,input().split()) map(int,input().split()) M A=set(A) set(A) A N,M=map(int,input().split()) map(int,input().split()) N A=[0]*M [0]*M A X=[0]*(N+1) [0]*(N+1) X
N,M=map(int,input().split())
A=[0]*M
for i in range(M):
    A[i]=int(input())
A=set(A)

K=10**9+7

X=[0]*(N+1)
X[0]=1
X[1]=1*(1 not in A)

for i in range(2,N+1):
    if i not in  A:
        X[i]=(X[i-1]+X[i-2])%K
print(X[-1])
