#K72242. Traffic Light State

    ID: 33710 Type: Default 1000ms 256MiB

Traffic Light State

Traffic Light State

You are given a non-negative integer \(T\) representing the number of seconds elapsed since the beginning of a traffic light cycle. The traffic light operates in a repeating cycle with three states:

  • Green for the first 60 seconds,
  • Yellow for the next 5 seconds, and
  • Red for the final 55 seconds.

Thus, the duration of one complete cycle is given by

\[ \text{cycle} = 60 + 5 + 55 = 120 \text{ seconds}, \]

Your task is to determine the current state of the traffic light at time \(T\) seconds, where the state is one of "Green", "Yellow", or "Red".

Note: The traffic light state resets after every complete cycle of 120 seconds.

inputFormat

The input consists of a single line containing an integer \(T\) (\(0 \leq T \leq 10^9\)), which represents the time in seconds since the start of a cycle.

outputFormat

Output a single line containing the current state of the traffic light: either "Green", "Yellow", or "Red".

## sample
45
Green