def a(s,max_length):
    return s[:max_length]
s = input("")
print (a(s,10000))