import re


def parse_date(deadline_date):
    """
    Given a date in the form MM/DD/YY or MM/DD/YYYY, returns
    the integers MM, DD, and YYYY (or YY) in this order.
    """
    deadline_split = re.split('\\/|\\-', deadline_date)
    return int(deadline_split[0]), int(deadline_split[1]), int(deadline_split[2])