- محدودیت زمان: ۱ ثانیه
- محدودیت حافظه: ۲۵۶ مگابایت
The ministry of health in Neverland has recently published a colorcoded chart to help people better understand the level of Covid-19 risk in different cities, and take appropriate actions and precautions based on the risk level.
In this chart, each city is colored either red, yellow, or white, based on some indicators showing the coronavirus risk level at that city. After exploring several models, the ministry has reached the following criteria for classifying the cities. For a given city, if the average number of new cases per day over the past two weeks is at most per one million population, and the average number of new hospitalizations per day over the past two weeks is at most in every one million population, then the city is marked as white, meaning that the city is in a low-risk zone. On the other hand, if the average number of new hospitalizations per day in a city over the past two weeks is more than per one million population, then the city is categorized as high-risk and is color-coded red. All other cities are colored yellow.
While the data for new cases and hospitalizations are publicly available, the ministry does not update its colorcoded chart very frequently. Hana, a curious student, likes to know the risk level of her city at any point of time, before the ministry publishes its updated chart. She can obtain the average number of new cases and new hospitalizations from the Internet, but she needs your help to convert this data to a color code that better demonstrates the risk level at her city.
ورودی
The input consists of two lines. The first line contains an integer (), showing the average number of new cases per day in every one million population in Hana’s city over the past two weeks. The second line contains an integer (), showing the average number of new hospitalizations per day in every one million population over the past two weeks in that city. Note that .
خروجی
In the output, print the color-code of Hana’s city. It must be either White, Yellow, or Red.
ورودی نمونه ۱
خروجی نمونه ۱
ورودی نمونه ۲
خروجی نمونه ۲
ورودی نمونه ۳
خروجی نمونه ۳
ارسال پاسخ برای این سؤال