#K14351. Coffee Detour Timeliness

    ID: 24115 Type: Default 1000ms 256MiB

Coffee Detour Timeliness

Coffee Detour Timeliness

Lisa wants to know if she can detour to get coffee on her way to work and still be on time. You are given four integers: the distance to work (D, in kilometers), the average speed of the car (S, in km/h), the extra distance due to the detour (E, in kilometers), and the available time (T, in minutes). Using the formula

\( \frac{D + E}{S} \times 60 \leq T \)

determine whether Lisa can afford the detour and still arrive on time.

inputFormat

The input consists of a single line containing four space-separated integers: D, S, E, and T. Here, D is the distance to work in kilometers; S is the average speed of the car in km/h; E is the extra distance due to the detour; and T is the total available time in minutes.

outputFormat

Output a single line with either "Yes" if Lisa can take the detour and still be on time, or "No" otherwise.

## sample
10 30 5 60
Yes