<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def extractDate(self, inp):
 """Returns the first date found in the input string, or None if not found."""

        dates = self.extractDates(inp)
        for date in dates:
            return date
        return None