#include<iostream>
using namespace std;
class Time
{
public:
void cin_Time()
{
cin>>hour>>minute>>sec;
}
void cout_Time()
{
cout<<hour<<":"<<minute<<":"<<sec;
}
private:
int hour;
int minute;
int sec;
};
int main()
{
Time t;
t.cin_Time();
t.cout_Time();
return 0;
}
using namespace std;
class Time
{
public:
void cin_Time()
{
cin>>hour>>minute>>sec;
}
void cout_Time()
{
cout<<hour<<":"<<minute<<":"<<sec;
}
private:
int hour;
int minute;
int sec;
};
int main()
{
Time t;
t.cin_Time();
t.cout_Time();
return 0;
}