while True: try: n,k = map(int,input().split()) ll = list(map(int,input().split())) res,tmp = 0,0 left,right = 0,0 while left < n: if tmp < k: if right < n: tmp += ll[right] right...