2876 日期识别
#include<iostream>
#include<string>
using namespace std;
int main()
{
string a;
cin>>a;
if(a.substr(0,3)=="Jan") cout<<1<<" ";
else if (a.substr(0,3)=="Feb") cout<<2<<" ";
else if (a.substr(0,3)=="Mar") cout<<3<<" ";
else if (a.substr(0,3)=="Apr") cout<<4<<" ";
else if (a.substr(0,3)=="May") cout<<5<<" ";
else if (a.substr(0,3)=="Jun") cout<<6<<" ";
else if (a.substr(0,3)=="Jul") cout<<7<<" ";
else if (a.substr(0,3)=="Aug") cout<<8<<" ";
else if (a.substr(0,3)=="Sep") cout<<9<<" ";
else if (a.substr(0,3)=="Oct") cout<<10<<" ";
else if (a.substr(0,3)=="Nov") cout<<11<<" ";
else if (a.substr(0,3)=="Dec") cout<<12<<" ";
if(a[3]-'0'==0) cout<<a[4];
else cout<<a.substr(3,4);
return 0;
}