Hello ah, I am gray little ape, a super will write bug program ape!
Welcome to my column.”The daily blue bridge”, the main role of this column is to share with you in recent years blue bridge cup provincial competition and the final and other real questions, analysis of the existing algorithm ideas, data structure and other content, to help you learn more knowledge and technology!
Title: The question of dates
Xiao Ming is sorting out a number of historical documents. There are many dates in these historical documents. Xiao Ming knew that these dates were all in 1960
From January 1, 2006 to December 31, 2059. To Xiao Ming’s annoyance, the format of these dates is very irregular — there are
The year/month/day is adopted, some are adopted on 1 / year, and some are adopted on 8/ month/year. To make matters worse, the year was omitted
The first two are such that there are many possible dates corresponding to a date in the literature.
For example, 02/03/04 could be March 04, 2002, February 03, 2004 or March 02, 2004.
Given a date in the literature, can you help Xiao Ming determine what possible dates correspond to it?
Input:
A date &