def calc_period(start, end) -> int:
    """
    Given two tuples for start and end hour, determine the number of hours
    in the interval (inclusive of starting and ending hour).
    :param start: A list of date (as integer) and hour (as integer in HHMM format with 00 for minutes)
    :param end: (same)
    :return: Number of hours
    """
    sd, sh = start
    ed, eh = end

    hours = int(ed - sd) * 24 + (eh - sh) // 100 + 1

    return hours