#include <iostream>

using namespace std;

class Date {
public:
	Date(int d, int mon, int yr) : day(d), month(mon), year(yr) { 
		cout << "Initializing Date" << endl; 
	}
	~Date() { 
		cout << "Destructing Date " << endl; 
	}
	
	void print() const {
		cout << day << " " << month << ", " << year << endl;
	}
	int getDay() const { return day; }
	int getMonth() const { return month; }
	int getYear() const { return year; }

private:
	int day;
	int month;
	int year;

};
