


str = "가나다라마바"

index = len(str) - 1
while 0 <= index :
    letter = str[index]
    print(letter)
    index = index - 1


print("="*100)

str = "banana"
half = int(len(str)/2)
last = str[half:]
first = str[0:half]
str2 = last + first
print(str2)


print("="*100)

print("abc"+"...")

print("="*100)



fhand = open("input.txt",r)
for line in fhand :
    if len(line) > 10
    print(line[0:8]+"...")
    else
    quit()
