<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def chunks(event_list, chunk_size):
 """Yield successive n-sized chunks from the event list."""

    for i in range(0, len(event_list), chunk_size):
        yield event_list[i:i + chunk_size]