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

#536. Remove repeated characters

You are given a word. Keep only the first appearance of each character and print the result (example: banana → ban). ### Input One word. ### Output One line.

Examples

Input
python
Output
python
Input
kayak
Output
kay

💡 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!