<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def parents(self):
 """ Returns an simple FIFO queue with the ancestors and itself. """

        q = self.__parent__.parents()
        q.put(self)
        return q