remove ' : ' and convert it into an integer
int removeColon ( string s ) { if ( s . size ( ) == 4 ) s . replace ( 1 , 1 , " " ) ; if ( s . size ( ) == 5 ) s . replace ( 2 , 1 , " " ) ; return stoi ( s ) ; }