while 1:
    try:
        a = input()
        if a:
            print(a.lower())
        else:
            break
    except:
        break