#K6881. Next Week Event Difficulty
Next Week Event Difficulty
Next Week Event Difficulty
In this problem, you are given the wind strength for this week, denoted as a string W
. The wind strength can only be Low, Medium, or High. Your task is to determine the difficulty level for next week's event, which depends on this week's wind strength.
The mapping is defined as follows:
\( \text{next}(W) = \begin{cases} \text{Medium} & \text{if } W = \text{Low} \\ \text{High} & \text{if } W = \text{Medium} \\ \text{Low} & \text{if } W = \text{High} \end{cases} \)
You need to implement a program that reads the wind strength from stdin and outputs the difficulty level for next week to stdout.
inputFormat
The input consists of a single line containing one of the strings: Low
, Medium
, or High
.
outputFormat
Output a single line containing the corresponding difficulty level for next week based on the mapping provided.
## sampleLow
Medium