def format_time(time):
    """Formats the time to a human-readable expression."""
    m, s = divmod(round(time), 60)
    h, m = divmod(m, 60)

    return 'Hours: %s, Minutes: %s, Seconds: %s' % (h, m, s)