
N, M = map(int, input().split())
X = [int(input()) for _ in range(M)]

MOD = 10 ** 9 + 7
dp = [-1] * (N + 1)
dp[0] = 1
for i in range(M):
    dp[X[i]] = 0

for i in range(N):
    if dp[i + 1] < 0:
        if i == 0:
            dp[i + 1] = dp[i]
        else:
            dp[i + 1] = (dp[i] + dp[i - 1]) % MOD

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 _ in range(M) for _ in range(M) _ range(M) range M for _ in range(M) int(input()) int input() input X = [int(input()) for _ in range(M)] X [int(input()) for _ in range(M)] MOD = 10 ** 9 + 7 MOD 10 ** 9 + 7 10 ** 9 10 9 7 dp = [-1] * (N + 1) dp [-1] * (N + 1) [-1] -1 N + 1 N 1 dp[0] = 1 dp[0] dp 0 1 for i in range(M):
    dp[X[i]] = 0 i range(M) range M dp[X[i]] = 0 dp[X[i]] dp X[i] X i 0 for i in range(N):
    if dp[i + 1] < 0:
        if i == 0:
            dp[i + 1] = dp[i]
        else:
            dp[i + 1] = (dp[i] + dp[i - 1]) % MOD i range(N) range N if dp[i + 1] < 0:
        if i == 0:
            dp[i + 1] = dp[i]
        else:
            dp[i + 1] = (dp[i] + dp[i - 1]) % MOD dp[i + 1] < 0 dp[i + 1] dp i + 1 i 1 0 if i == 0:
            dp[i + 1] = dp[i]
        else:
            dp[i + 1] = (dp[i] + dp[i - 1]) % MOD i == 0 i 0 dp[i + 1] = dp[i] dp[i + 1] dp i + 1 i 1 dp[i] dp i dp[i + 1] = (dp[i] + dp[i - 1]) % MOD dp[i + 1] dp i + 1 i 1 (dp[i] + dp[i - 1]) % MOD dp[i] + dp[i - 1] dp[i] dp i dp[i - 1] dp i - 1 i 1 MOD print(dp[-1]) print dp[-1] dp -1 X = [int(input()) for _ in range(M)] [int(input()) for _ in range(M)] X MOD = 10 ** 9 + 7 10 ** 9 + 7 MOD N, M = map(int, input().split()) map(int, input().split()) N dp = [-1] * (N + 1) [-1] * (N + 1) dp M = map(int, input().split()) map(int, input().split()) M

N, M = map(int, input().split())
X = [int(input()) for _ in range(M)]

MOD = 10 ** 9 + 7
dp = [-1] * (N + 1)
dp[0] = 1
for i in range(M):
    dp[X[i]] = 0

for i in range(N):
    if dp[i + 1] < 0:
        if i == 0:
            dp[i + 1] = dp[i]
        else:
            dp[i + 1] = (dp[i] + dp[i - 1]) % MOD

print(dp[-1])
