n, m = map(int, input().split())
ok = [1] * n
for i in range(m):
    x = int(input())
    ok[x-1] = 0
mod = 1000000007
dp = [0] * (n+2)
dp[1] = 1
for i in range(n):
    dp[i+2] = (dp[i+1] + dp[i])%mod if ok[i] else 0

print(dp[n+1]) n, m = map(int, input().split()) n map(int, input().split()) map int input().split() ().split () input split m ok = [1] * n ok [1] * n [1] 1 n for i in range(m):
    x = int(input())
    ok[x-1] = 0 i range(m) range m x = int(input()) x int(input()) int input() input ok[x-1] = 0 ok[x-1] ok x-1 x 1 0 mod = 1000000007 mod 1000000007 dp = [0] * (n+2) dp [0] * (n+2) [0] 0 n+2 n 2 dp[1] = 1 dp[1] dp 1 1 for i in range(n):
    dp[i+2] = (dp[i+1] + dp[i])%mod if ok[i] else 0 i range(n) range n dp[i+2] = (dp[i+1] + dp[i])%mod if ok[i] else 0 dp[i+2] dp i+2 i 2 (dp[i+1] + dp[i])%mod if ok[i] else 0 ok[i] ok i (dp[i+1] + dp[i])%mod dp[i+1] + dp[i] dp[i+1] dp i+1 i 1 dp[i] dp i mod 0 print(dp[n+1]) print dp[n+1] dp n+1 n 1 x = int(input()) int(input()) x m = map(int, input().split()) map(int, input().split()) m dp = [0] * (n+2) [0] * (n+2) dp ok = [1] * n [1] * n ok mod = 1000000007 1000000007 mod n, m = map(int, input().split()) map(int, input().split()) n
n, m = map(int, input().split())
ok = [1] * n
for i in range(m):
    x = int(input())
    ok[x-1] = 0
mod = 1000000007
dp = [0] * (n+2)
dp[1] = 1
for i in range(n):
    dp[i+2] = (dp[i+1] + dp[i])%mod if ok[i] else 0

print(dp[n+1])