def case1(ljam,lmenit) :
    for i in range(len(ljam)):
        if (int(ljam[i])<=23) and (int(ljam[i])>=0) and (int(lmenit[i])>=0) and (int(lmenit[i])<=59) :
            print(ljam[i]+':'+lmenit[i])


    

1a518e9c904881367cba69a589a6ea4b015022f3
<mask token>

def case1(ljam, lmenit):
    for i in range(len(ljam)):
        if int(ljam[i]) <= 23 and int(ljam[i]) >= 0 and int(lmenit[i]
            ) >= 0 and int(lmenit[i]) <= 59:
            print(ljam[i] + ':' + lmenit[i])

def case1(ljam,lmenit) :
    for i in range(len(ljam)):
        if (int(ljam[i])<=23) and (int(ljam[i])>=0) and (int(lmenit[i])>=0) and (int(lmenit[i])<=59) :
            print(ljam[i]+':'+lmenit[i])


    
