t = int(input('Entrez le temps (en minutes) : '))

def convert1(t):
    h = int(t/60)
    m = t-h*60
    rep = str(h)+'h'+str(m)+'min.'
    return rep
    
def convert2(t):
    h = t/60
    rep = str(h)+' heures.'
    return rep
    
print(t,'minutes =',convert1(t))
print(t,'minutes =',convert2(t))