a=int(input()) b=int(input()) c=0 d=0 c=input().split(' ') for i in c: if a>=int(i): a-=int(i) else: d+=1 print(d)
py,最后一个点RE,请问下为什么