// editor1

#include<iostream>
using namespace std;

int main()
{
    public: 
    int y, m, d;
    cout<<"Enter the year: ";
    cin>>y;
    cout<<"Enter the month: ";
    cin>>m;
    cout<<"Enter the date: ";
    cin>>d;
    cout<<"INPUT: "<< y <<" - "<< m <<" - "<< d;
    
    for(i=1900; i<=2100; i++)
    {
        if(y==i)
        {
            cout<<y;
        }
    }
    
    for(i=1; i<=12; i++)
    {
        if(m==i)
        {
            cout<<m;
        }
    }
    
    for(i=1; i<=7; i++)
    {
        if(d==i)
        {
            cout<<d;
        }
    }
    return 0;
}