Name of the month

The company records contain many documents with dates on them. Yet, the dates are represented in numbers: 1 is January, 2 is February, ..., 12 is December.
It’s really hard to read numbers for the managers, so they ask you to write a program that would turn numbers into month names.
The program should get a single number as an input - the month number and should print the month name in the output. If the input number is outside the range [1, 12], the program should output Wrong input.
Input
Output
1
January
-1
Wrong input
 

Constraints

Time limit: 2 seconds

Memory limit: 512 MB

Output limit: 1 MB

To check your solution you need to sign in
Sign in to continue