here you want to return what's left.
so it is a seq of what the last return of line 246 was + whatever is left in inputs when you break.