import math


def timeToRun(time_hrs):
    """ Calculates the time to run in hours, minutes and seconds. """

    # Convert the runtime in hours to seconds
    run_seconds = 500*math.ceil(7.2*time_hrs)

    # Determine the hours, minutes and seconds
    hours = math.floor(run_seconds/3600)
    minutes = math.floor((run_seconds/3600-hours)*60)
    seconds = math.floor(((run_seconds/3600-hours)*60 - minutes)*60)

    return hours,minutes,seconds