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

#523. Every 2th character

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

Examples

Input
planet noon school player dragon school forest
Output
pae onsho lyrdao colfrs
Input
apple string river player mouse string winter
Output
apesrn ie lyrmuesrn itr

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