n,m=map(int,input().split())
a=[int(input()) for i in range(m)]

dp=[1]+['']*n

for i in a:
  dp[i]=0

if dp[1]=='':
  dp[1]=1
  

for i in range(2,n+1):
  if dp[i]=='':
    dp[i]=(dp[i-1]+dp[i-2])%(10**9+7)

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 i in range(m) for i in range(m) i range(m) range m for i in range(m) int(input()) int input() input a=[int(input()) for i in range(m)] a [int(input()) for i in range(m)] dp=[1]+['']*n dp [1]+['']*n [1] 1 ['']*n [''] '' n for i in a:
  dp[i]=0 i a dp[i]=0 dp[i] dp i 0 if dp[1]=='':
  dp[1]=1
   dp[1]=='' dp[1] dp 1 '' dp[1]=1 dp[1] dp 1 1 for i in range(2,n+1):
  if dp[i]=='':
    dp[i]=(dp[i-1]+dp[i-2])%(10**9+7) i range(2,n+1) range 2 n+1 n 1 if dp[i]=='':
    dp[i]=(dp[i-1]+dp[i-2])%(10**9+7) dp[i]=='' dp[i] dp i '' dp[i]=(dp[i-1]+dp[i-2])%(10**9+7) dp[i] dp i (dp[i-1]+dp[i-2])%(10**9+7) dp[i-1]+dp[i-2] dp[i-1] dp i-1 i 1 dp[i-2] dp i-2 i 2 10**9+7 10**9 10 9 7 print(dp[-1]) print dp[-1] dp -1 dp=[1]+['']*n [1]+['']*n dp m=map(int,input().split()) map(int,input().split()) m a=[int(input()) for i in range(m)] [int(input()) for i in range(m)] a n,m=map(int,input().split()) map(int,input().split()) n
n,m=map(int,input().split())
a=[int(input()) for i in range(m)]

dp=[1]+['']*n

for i in a:
  dp[i]=0

if dp[1]=='':
  dp[1]=1
  

for i in range(2,n+1):
  if dp[i]=='':
    dp[i]=(dp[i-1]+dp[i-2])%(10**9+7)

print(dp[-1])
