if q:
                n = q.group(1)
                if n == "1":
                    quarter = "1st"
                elif n == "2":