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

#560. Every 3th character

You are given a text. Starting from the first character, join every 3th character (indexes 0, 3, 2·3, ...) and print the result. ### Input One line of text. ### Output One line.

Examples

Input
planet list madam kayak input
Output
pn smakaiu
Input
kayak keyboard school loop robot banana
Output
kakbrso oroba

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