n, m = map(int,input().split())
lst = [-1 for i in range(n + 1)]
for i in range(m):
    x = int(input())
    lst[x] = 0

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

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

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

print(lst[n])
