100-days-of-rust/Week-13/Day-91_Cyberpunk-2078/README.md

32 lines
1.2 KiB
Markdown
Raw Permalink Normal View History

2023-03-24 01:48:17 +00:00
## Cyberpunk 2078
Today Vasya visited a widely known site and learned that the continuation of his favourite game **Cyberpunk 2077** will appear after exactly k months. He looked at the calendar and learned that at the moment is the month number s. Vasya immediately got interested in what month **Cyberpunk 2078** will appear. Help him understand that.
All the twelve months in Vasya's calendar are named using their usual English names: **January, February, March, April, May, June, July, August, September, October, November, December**.
### Input
The first input line contains the name of the current month. It is guaranteed that it is a proper English name of one of twelve months. The first letter is uppercase, the rest are lowercase. The second line contains integer k (0k100) — the number of months left till the appearance of **Cyberpunk 2078**.
```
November
3
```
### Output
Print starting from an uppercase letter the name of the month in which the continuation of **Cyberpunk 2077** will appear. The printed name must be contained in the list January, February, March, April, May, June, July, August, September, October, November, December.
```
February
```
### Input
```
May
24
```
### Output
```
May
```