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