import time

def timex(timee):
    if timee.endswith("H"):  
        hours = float(timee[:-1]) 
        total_seconds = hours * 3600  
    elif timee.endswith("M"):
        minutes = float(timee[:-1])
        total_seconds = minutes * 60
    elif timee.endswith("MS"):
        milliseconds = float(timee[:-2])
        total_seconds = milliseconds / 100
    else:
        total_seconds = float(timee)  
    
    time.sleep(total_seconds)  


