CodeLab Academy 📞 9936 6696
← List Python · Level 6: Strings Code · 60 points ← #565 #567 →

#566. Cut to 8 characters

You are given a text. If it is longer than 8 characters, print the first 8 characters followed by `...`. Otherwise print it as it is. ### Input One line. ### Output One line.

Examples

Input
river planet civic input
Output
river pl...
Input
summer player
Output
summer p...

💡 You can solve it with Python, JavaScript or blocks. Read the input line by line with input(). Don't print a question (like input("Number: ")). Print exactly what the output asks for, nothing more.

🔒 You can solve the first 3 problems without an account. Sign up for free to solve this one!