AtCoder Beginner Contest 072
B
OddString
AtCoder
⌀ 0
原题
← AC →
翻译中…

Problem Statement

翻译中…

You are given a string $s$ consisting of lowercase English letters. Extract all the characters in the odd-indexed positions and print the string obtained by concatenating them. Here, the leftmost character is assigned the index $1$.

翻译中…

Constraints

翻译中…
  • Each character in $s$ is a lowercase English letter.
  • $1≤|s|≤10^5$
翻译中…

Input

翻译中…

The input is given from Standard Input in the following format:

翻译中…

s

翻译中…

Output

翻译中…

Print the string obtained by concatenating all the characters in the odd-numbered positions.

翻译中…

样例

Input #1
atcoder
Output #1
acdr
Extract the first character `a`, the third character `c`, the fifth character `d` and the seventh character `r` to obtain `acdr`.
Input #2
aaaa
Output #2
aa
Input #3
z
Output #3
z
Input #4
fukuokayamaguchi
Output #4
fkoaaauh
题目信息
题号
abc072_b
时间限制
2 s
内存限制
256 MB

题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。