#include<iostream>

class Date
{
private:
int m_nDay;
int m_nMonth;
int m_nYear;

public:
Date(int nDay=1, int nMonth=7, int nYear=2015)
{
m_nDay = nDay;
m_nMonth = nMonth;
m_nYear = nYear;
}
int GetnDay() {return m_nDay; }
int GetMonth() {return m_nMonth; }
int GetYear() {return m_nYear; }

};

int main()
{
Date cdate;
std::cout<<cdate.GetYear() <<”-“<<cdate.GetMonth()<<”-“<<cdate.GetnDay()<<std::endl;
Date cunix(1,1,1970);
std::cout<<cunix.GetYear() <<”-“<<cunix.GetMonth()<<”-“<<cunix.GetnDay()<<std::endl;

return 0;

}