#include<bits/stdc++.h>
using namespace std;
class Times //为啥非要用Times
{
int month;
int day;
int hour;
int minute;
public:
Times ( int x,int y,int z,int q):month(x),day(y),hour(z),minute(q)
{
}
Times()
{month=0;day=0;hour=0;minute=0;}
int getmonth() { return month;}
void setmonth (int x) {month=x;}
void setall(int x,int y,int z,int q) {month=x;day=y;hour=z;minute=q;}
int getday() { return day ;}
void setday(int y) { day =y;}
int gethour( ) { return hour;}
void sethour(int z) { hour=z;}
int getminute() { return minute ;}
void setminute(int q) { minute =q; }
using namespace std;
class Times //为啥非要用Times
{
int month;
int day;
int hour;
int minute;
public:
Times ( int x,int y,int z,int q):month(x),day(y),hour(z),minute(q)
{
}
Times()
{month=0;day=0;hour=0;minute=0;}
int getmonth() { return month;}
void setmonth (int x) {month=x;}
void setall(int x,int y,int z,int q) {month=x;day=y;hour=z;minute=q;}
int getday() { return day ;}
void setday(int y) { day =y;}
int gethour( ) { return hour;}
void sethour(int z) { hour=z;}
int getminute() { return minute ;}
void setminute(int q) { minute =q; }
void display()
{ cout<<month<<"\t"<<day<<"\t"<<hour<<"\t"<<minute<<endl;
}
};
int main ()
{
int x;
int y;
int z;
int q;
cin>>x>>y>>z>>q;
Times t1(x,y,z,q); //对象定义时加分号
t1.display();
Times t2;
t2.setmonth(5);
t2.setday(23);
t2.sethour(9);
t2.setminute(12);
t2.display();
{ cout<<month<<"\t"<<day<<"\t"<<hour<<"\t"<<minute<<endl;
}
};
int main ()
{
int x;
int y;
int z;
int q;
cin>>x>>y>>z>>q;
Times t1(x,y,z,q); //对象定义时加分号
t1.display();
Times t2;
t2.setmonth(5);
t2.setday(23);
t2.sethour(9);
t2.setminute(12);
t2.display();
}