/*
#include <stdio.h>
int main()
{
printf("Hello");
return 0;
}
*/
/*
#include <stdio.h>
int main()
{
printf ("Hello World");
return 0;
}
*/
/*#include <stdio.h>
int main ()
{
printf ("Hello\nWorld");
return 0;
}
/*
/*#include <stdio.h>
int main()
{
printf ("'Hello'");
return 0;
}
*/
/*#include <stdio.h>
int main()
{
printf ("\"Hello World\"");
return 0;
}
*/
/*#include <stdio.h>
int main()
{
printf("\"!@#$%^&*()\"");
return 0;
}
*/
/*#include <stdio.h>
int main()
{ printf("\"C:\\Download\\hello.cpp\"");
return 0;
}
*/
/*
정수
int %d
long long int %lld
실수
float %f
double %lf
문자
char %c
*/
/*
#include <stdio.h>
int main()
{
int x, y;
scanf("%d %d", &x, &y);
printf("%d", x+y);
}
*/
/*#include <stdio.h>
int main()
{
int n;
scanf("%d", &n);
printf("%d", n);
return 0;
}
*/
/*#include <stdio.h>
int main()
{
char x;
scanf("%c", &x);
printf("%c" , x);
}
*/
/*#include <stdio.h>
int main()
{
float x;
scanf("%f", &x);
printf("%f", x);
}
*/
/*#include <stdio.h>
int main()
{
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d", a, b);
}
*/
/*#include <stdio.h>
int main()
{
char x,y;
scanf("%c %c",&x,&y);
printf("%c %c",y, x);
}
*/
/*#include <stdio.h>
int main()
{
float x, y;
scanf("%f", &x);
printf("%.2f", x);
}
*/
/*#include <stdio.h>
int main()
{
int a, b;
scanf("%d", &a);
printf("%d %d %d",a,a,a);
}
*/
#include <stdio.h>
int main()
{
int h, m;
scanf("%d:%d", &h, &m);
printf("%d:%d",h,m);
}