def hms(seconds):
    """
    Return time as hours, minutes seconds
    :param seconds: input seconds
    :return:        hours, minuted, seconds
    """
    mins, sec = divmod(seconds, 60)
    hours, mins = divmod(mins, 60)
    return hours, mins, sec