n, m = map(int, input().split())
dp = [1] * (n + 1)

for i in range(m):
    blank = int(input())
    dp[blank] = 0

for i in range(2, n+1):
    if dp[i] != 0:
        dp[i] = (dp[i - 1] + dp[i - 2]) % 1000000007
    else:
        pass

print(dp[-1]) n, m = map(int, input().split()) n map(int, input().split()) map int input().split() ().split () input split m dp = [1] * (n + 1) dp [1] * (n + 1) [1] 1 n + 1 n 1 for i in range(m):
    blank = int(input())
    dp[blank] = 0 i range(m) range m blank = int(input()) blank int(input()) int input() input dp[blank] = 0 dp[blank] dp blank 0 for i in range(2, n+1):
    if dp[i] != 0:
        dp[i] = (dp[i - 1] + dp[i - 2]) % 1000000007
    else:
        pass i range(2, n+1) range 2 n+1 n 1 if dp[i] != 0:
        dp[i] = (dp[i - 1] + dp[i - 2]) % 1000000007
    else:
        pass dp[i] != 0 dp[i] dp i 0 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 blank = int(input()) int(input()) blank dp = [1] * (n + 1) [1] * (n + 1) dp m = map(int, input().split()) map(int, input().split()) m
n, m = map(int, input().split())
dp = [1] * (n + 1)

for i in range(m):
    blank = int(input())
    dp[blank] = 0

for i in range(2, n+1):
    if dp[i] != 0:
        dp[i] = (dp[i - 1] + dp[i - 2]) % 1000000007
    else:
        pass

print(dp[-1])