#include <iostream>
#include <vector>
#include <string.h>
#include<stdio.h>
using namespace std; 

int main(){
   int x, y; 
   scanf("%d:%d", &x, &y);
   cout << x << ":" << y; 
  
}