import typing


def hour_to_day(hour: int) -> typing.Tuple[int, int]:
    """Converts from a simulation hour to the pair (day, hour)."""
    day = int(hour // 24)
    hour = int(hour % 24)
    return day, hour