CCCPaste

lucnh_break_08_02

import math

movie_name = input()
movie_duration = int(input())
rest_time = int(input())

lunch_time = rest_time * 0.125
relax_time = rest_time * 0.25

total_time = movie_duration + lunch_time + relax_time

if total_time <= rest_time:
    print(f"You have enough time to watch {movie_name} and left with {math.ceil(rest_time - total_time)} minutes free time.")
else:
    print(f"You don't have enough time to watch {movie_name}, you need {math.ceil(total_time - rest_time)} more minutes.")