#include
#include
using namespace std;
class Date
{
int year,month,day;
public:
Date()
{
}
Date(int y,int m,int d)
{
year = y;
month = m;
day = d;
}
int GetDate()
{
cout<<year<<"-"<<setw(2)<<setfill('0')<<month<<"-"<<setw(2)<<setfill('0')<<day;
}
};
int main()
{
int y,m,d;
cin>>y>>m>>d;
Date a(y,m,d);
a.GetDate();
return 0;
}