n,k=map(int,input().split()) t=input() d=[0]*(1+n) d[n]=1 for i in range(n)[::-1]: if t[i]=='0': continue d[i]+=d[i+1] if 10