def hourminsec(n_seconds):
    """Generate a string of hours and minutes from total number of seconds

    Args
    ----
    n_seconds: int
        Total number of seconds to calculate hours, minutes, and seconds from

    Returns
    -------
    hours: int
        Number of hours in `n_seconds`
    minutes: int
        Remaining minutes in `n_seconds` after number of hours
    seconds: int
        Remaining seconds in `n_seconds` after number of minutes
    """
    hours, remainder = divmod(n_seconds, 3600)
    minutes, seconds = divmod(remainder, 60)
    return abs(hours), abs(minutes), abs(seconds)
