#C11543. Date Format Conversion

    ID: 40871 Type: Default 1000ms 256MiB

Date Format Conversion

Date Format Conversion

Your task is to convert a date string from the format YYYY-MM-DD to the format Month Day, Year. For example, the input "2023-09-05" should be transformed into "September 5, 2023".

Note that any leading zeros in the day should be removed. For instance, 2021-01-02 becomes "January 2, 2021".

You can assume that the input date is always valid and is given in the correct format.

Mathematically, given a date string \( D \) in the form \( YYYY-MM-DD \), if \( M \) is the month (with corresponding English name) and \( d \) is the day as an integer, then the output should be in the form:

[ \text{Output} = M, d,, YYYY ]

inputFormat

The input consists of a single line containing a date string in the format YYYY-MM-DD, where:

  • YYYY represents the 4-digit year.
  • MM represents the 2-digit month.
  • DD represents the 2-digit day.

outputFormat

Output the converted date in the format Month Day, Year, where the day is printed as an integer without any leading zeroes.

## sample
2023-09-05
September 5, 2023