<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def readline(self, size=-1):
        "The size is ignored since a complete line must be read."
        line = self.fin.readline()
        if not line:
            return ''
        return self.process_line(line.rstrip('\n'))