LearnPy Hub
← Arena
EasyRating 800

Every Other Letter

Print the characters at positions 1, 3, 5, … (counting from 1), then on the next line the characters at positions 2, 4, 6, ….

Input

One word (at least 2 characters).

Output

Two lines.

Sample 1

Input
python
Output
pto
yhn

Sample 2

Input
ab
Output
a
b
solution.py
Output appears here
Every Other Letter · Python Arena problem · LearnPy Hub