#include <iostream>
using std::ostream;
namespace zv
{
class date
{
private:
int day, month, year;
public:
date(int d, int m, int y) : day(d), month(m), year(y) {}
friend ostream& operator<<(ostream& out, const zv::date &a);
};
ostream& operator<<(ostream& out, const zv::date &a)
{
return out << a.day << '/' << a.month << '/' << a.year;
}
}
int main()
{
zv::date a(1,1,2000);
std::cout << a;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBzdGQ6Om9zdHJlYW07CgpuYW1lc3BhY2UgenYKewogICAgY2xhc3MgZGF0ZQogICAgewogICAgcHJpdmF0ZToKICAgICAgICBpbnQgZGF5LCBtb250aCwgeWVhcjsKICAgIHB1YmxpYzoKICAgICAgICBkYXRlKGludCBkLCBpbnQgbSwgaW50IHkpIDogZGF5KGQpLCBtb250aChtKSwgeWVhcih5KSB7fQogICAgICAgIGZyaWVuZCBvc3RyZWFtJiBvcGVyYXRvcjw8KG9zdHJlYW0mIG91dCwgY29uc3QgenY6OmRhdGUgJmEpOwogICAgfTsKICAgIAogICAgb3N0cmVhbSYgb3BlcmF0b3I8PChvc3RyZWFtJiBvdXQsIGNvbnN0IHp2OjpkYXRlICZhKQogICAgewogICAgICAgIHJldHVybiBvdXQgPDwgYS5kYXkgPDwgJy8nIDw8IGEubW9udGggPDwgJy8nIDw8IGEueWVhcjsKICAgIH0KfQoKaW50IG1haW4oKQp7CiAgICB6djo6ZGF0ZSBhKDEsMSwyMDAwKTsKICAgIHN0ZDo6Y291dCA8PCBhOwp9