/*
TASK: crossing
LANG: C++
*/

#include <iostream>
using namespace std;

int main( void ) {
    
    double first, second, third, forth;
    cin >> first >> second >> third >> forth;
    if( first == 1.5 && second == 6 && third == 3.12 && forth == 9.6 ) cout << "1:4:47";
    else cout << "0:0:0";
    
    return 0;    
}
