<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def QueueMessages(self, messages):
 """Push messages to the input queue."""

    # Push all the messages to our input queue
    for message in messages:
      self._in_queue.put(message, block=True)