Problem:


Score : 200 points

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.

Sample Input 1

atcoder

Sample Output 1

acdr

Extract the first character a, the third character c, the fifth character d and the seventh character r to obtain acdr.

Sample Input 2

aaaa

Sample Output 2

aa

Sample Input 3

z

Sample Output 3

z

Sample Input 4

fukuokayamaguchi

Sample Output 4

fkoaaauh



Sample input:
atcoder


Sample output:
acdr

Submission status: Wrong Answer

Solution code:
s = input()
x = ''
for i in range(0, len(s)):
    if i % 2 != 0:
        x = x + s[i]
print(x)

Submission status: Wrong Answer

Solution code:
print(str(input())[1::2])

Submission status: Wrong Answer

Solution code:
s = input()

print(s[:2])

Submission status: Wrong Answer

Solution code:
s = input(str)

print(s[::2])

Submission status: Wrong Answer

Solution code:
s = input()
if len(s)%2 == 0:
  f = len(s)//2
else:
  f = len(s)//2+1
for i in range(f):
  print(s[2*i])

Submission status: Wrong Answer

Solution code:
s=input()
odd_num=list()

for i in range(len(s)):
    if i % 2 == 0:
        odd_num.append(s[i])

answer=" ".join(odd_num)

print(answer)

Submission status: Wrong Answer

Solution code:
s = input()
s.split()
odd = []

for i in range(len(s)):
    if i % 2 == 0:
        odd.append(s[i])

print(odd)

Submission status: Wrong Answer

Solution code:
s = list(input())

print(''.join(s[0:2]))

Submission status: Wrong Answer

Solution code:
s = input()
print(s)
n: int = 0
odds = []


for i in s:
    if n % 2 == 0:
        odd = s[n]
        odds += odd
    elif n == 0:
        odd = s[n]
        odds += odd
    else:
        pass
    n += 1
    # nを奇数にする
print(odds)

Submission status: Wrong Answer

Solution code:
s = input ()
odd_num = list()

for i in range(len(s)):
    if i % 2 == 0:
        odd_num.append(s[i])

answer = " ".join(odd_num)
print(answer)

Submission status: Wrong Answer

Solution code:
#072_b
s = input()
a = []
if s.islower() and 1 <= len(s) and len(s) <= 10 ** 5:
    b=""
    for n in range(len(s)):
        if n % 2 != 0:
            a.append(s[n])
    for m in range(len(a)):
        b=b+a[m]
    print(b)

Submission status: Wrong Answer

Solution code:
S = str(input().split())
print(S[::2])

Submission status: Wrong Answer

Solution code:
list_s = list(input())
print(list_s[::2])

Submission status: Wrong Answer

Solution code:
s = input()
for i in range(0,len(s),2):
  print(s[i])

Submission status: Wrong Answer

Solution code:
s = input()

res = ''
for i, elem in enumerate(s):
  if i % 2 == 0:
    res += elem
print(elem)

Submission status: Wrong Answer

Solution code:
n=input()
a = []
for i in range(0,len(n),2):
  a.append(str(n[i]))
print(*a)

Submission status: Wrong Answer

Solution code:
n=input()
import math
a = []
for i in range(0,math.ceil(len(n)/2),2):
  a.append(str(n[i]))
print(*a)

Submission status: Wrong Answer

Solution code:
a=input()
b=""
for i in range(int(len(a)/2)):
  b=b+a[2*i]
print(b)

Submission status: Wrong Answer

Solution code:
s=list(input())
s1=[]
for i in s:
  if (s.index(i)+1)%2!=0:
    s1.append(i)
print(i for i in s1)

Submission status: Wrong Answer

Solution code:
s=list(input())
s1=[]
for i in s:
  if (s.index(i)+1)%2==1:
    s1.append(i)
print("".join(s1))

Submission status: Wrong Answer

Solution code:
s=list(input())
s1=[]
for i in s:
  if (s.index(i)+1)%2==1:
    s1.append(i)
print(i for i in s1)

Submission status: Wrong Answer

Solution code:
s = list(input().split())

ans = []
for i in range(len(s)):
    if i % 2 == 0:
        ans.append(s[i])

print(''.join(ans))

Submission status: Wrong Answer

Solution code:
s=list(input())

for i in range(len(s)-1):
  if i%2==1:
    s[i]=''
  
ss=''.join(map(str,s))

print(ss)

Submission status: Wrong Answer

Solution code:
s = input()
#print(s[1])
#print(s[2])
i = list(range(0,len(s),2))
temp =""
for t in range(len(s)//2):
    temp = temp+s[i[t]]

print(temp)

Submission status: Wrong Answer

Solution code:
s = input()
print(s[1::2])

Submission status: Wrong Answer

Solution code:
input()[0::2]

Submission status: Wrong Answer

Solution code:
s = input()
print(s[::1])

Submission status: Wrong Answer

Solution code:
a=list(input())
b=' '
for i in range(len(a)):
  if i % 2 ==0:
    b+="a[i]"
print(b)

Submission status: Wrong Answer

Solution code:
a=list(input())
b=[]
for i in range(len(a)):
  if i % 2 ==0:
    b.append(a[i])
print(*b)

Submission status: Wrong Answer

Solution code:
s = input()

s = "".join([i for i in s if s.index(i) % 2 == 0])

print(s)

Submission status: Wrong Answer

Solution code:
s = input()
t=''
for i in range (len(s)):
  if i % 2 == 0:
    t = s[i]
    print(t)

Submission status: Wrong Answer

Solution code:
s=str(input())

t=[]
for i in range(len(s)):
    t.append(s[i])

for i in range(len(s)//2):
    t.remove(s[2*(i+1)-1])

u="".join(t)

print(u)

Submission status: Wrong Answer

Solution code:
s=str()

t=()
for i in range(len(s)):
    t.append(s[i])

for i in range(len(s)//2):
    t.remove(s[2*(i+1)-1])

u="".join(t)

print(u)

Submission status: Wrong Answer

Solution code:
S = input()

num = len(S)//2
ans = []

if len(S) % 2!=0:
    num += 1
    for i in range(num):
        nn = 2*i
        ans.append(S[nn])
else:
    for i in range(num):
        nn = 2*i+1
        ans.append(S[nn])
        
        
print("".join(ans))

Submission status: Wrong Answer

Solution code:
S = input()
for i in range(len(S)):
  if i % 2 == 0:
    print(S[i])

Submission status: Wrong Answer

Solution code:
s = input()
print(s[0::1])

Submission status: Wrong Answer

Solution code:
#OddString
s = input()

print(s[1::2])

Submission status: Wrong Answer

Solution code:
print(input()[1::2])

Submission status: Wrong Answer

Solution code:
s = list(input())
ans = []
for i in range(len(s)):
    if i%2==0:
        ans.append(s[i])
print(ans)

Submission status: Wrong Answer

Solution code:
input = str(input())

word = [x for x in input]
word = word[::2]

print(word)

Submission status: Wrong Answer

Solution code:
s = input()
ans = []
for i,si in enumerate(s):
  if i%2 == 1:
    ans.append(si)
print(''.join(ans))

Submission status: Wrong Answer

Solution code:
s = input()
print(s[1::2])

Submission status: Wrong Answer

Solution code:
s = input()

print(s[::1])

Submission status: Wrong Answer

Solution code:
letters = list(input().split())
new_letters = []

for i, item in enumerate(letters, 1):
  if i % 2 == 1:
    new_letters.append(item)

print(''.join(new_letters))

Submission status: Wrong Answer

Solution code:
letters = list(input().split())
new_letters = []

for i, item in enumerate(letters, 1):
  if i % 2 == 1:
    new_letters.append(item)

print(''.join(new_letters))

Submission status: Wrong Answer

Solution code:
S=str(input())
s = ""
for i in range(round(len(S)/2)):
  s = s + S[2*i]
print(s)

Submission status: Wrong Answer

Solution code:
S=str(input())
s = ""
for i in range(round(len(S)/2)):
  s = s + S[2*i-1]
print(s)

Submission status: Wrong Answer

Solution code:
s=input()
ans=[]
for i in range(len(s)):
  if i%2==0:
    ans.append(s[i])
print(*ans)

Submission status: Wrong Answer

Solution code:
s = input()
print("".join([str(s[2*i+1]) for i in range(len(s)//2)]))

Submission status: Wrong Answer

Solution code:
st = input()
i = 0
for s in st:
    if i % 2 == 0:
        print(s)
    i += 1

Submission status: Wrong Answer

Solution code:
s = list(input())

for i in range(len(s)):
  if i%2 == 0:
    odd = ''.join(s)
    
print(odd)

Submission status: Wrong Answer

Solution code:
print("".join(list(input())[1::2]))

Submission status: Wrong Answer

Solution code:
"".join([c for i,c in enumerate(list(input())) if (i+1)%2])

Submission status: Wrong Answer

Solution code:
n = input()
print(n[0:3:2])

Submission status: Wrong Answer

Solution code:
# Problem https://atcoder.jp/contests/abc072/tasks/abc072_b
# Python 2nd Try


class Problem:
    def __init__(self, problemstring):
        self.problemstring = problemstring
        self.length = len(self.problemstring)

    def solve(self):
        result = ''
        resultlist = []
        for j in range(0, self.length):
            if j % 2 == 0:
                resultlist.append(self.problemstring[j])
        result = ''.join(resultlist)
        return result


if __name__ == "__main__":
    S = input()
    print(Problem(S).solve)

Submission status: Wrong Answer

Solution code:
A = list(input())
N = len(A)
Ans = [A[0]]
for i in range(2, N-1, 2):
    Ans.append(A[i])
print("".join(Ans))

Submission status: Wrong Answer

Solution code:
s = input()

odd = s[1::2]

print(odd)

Submission status: Wrong Answer

Solution code:
str = input()
ans = ""
for x in range(round(len(str)/ 2)):
    ans += str[2 * x]
print(ans)

Submission status: Wrong Answer

Solution code:
s = input()
ans = ""
for i in range(1,len(s),2):
  ans += s[i]
print(ans)

Submission status: Wrong Answer

Solution code:
print(str(input())[::1])

Submission status: Wrong Answer

Solution code:
import sys
input = sys.stdin.readline
s = list(input().rstrip())
S = s[1::2]
print("".join(S))

Submission status: Wrong Answer

Solution code:
S = list(input())
print(S)

for v in S[0::2]:
    print(v, end="")

Submission status: Wrong Answer

Solution code:
S = list(input())
for v in S[0::2]:
    print(v)

Submission status: Wrong Answer

Solution code:
S = list(input())
print(S)

for v in S[0::2]:
    print(v)

Submission status: Wrong Answer

Solution code:
s = list(input())
for i in range(1,len(s),2):
    print(s[i],end="")
print()

Submission status: Wrong Answer

Solution code:
a = list(input())
if len(a) == 1:
    print(''.join(a))
else:
    for i in a:
        if a.index(i) % 2 == 0:
            print(i,end='')

Submission status: Wrong Answer

Solution code:
line = input()
count = len(line)
if count % 2 == 0:
  for i in range(0 ,count - 1 ,2):
    print(line[i],end =" ")
else:
  for i in range(0 ,count ,2):
    print(line[i],end ="")

Submission status: Wrong Answer

Solution code:
s = input()
counter = 0
res = []
for i in s:
  counter += 1
  if counter % 2 != 0:
    res.append(i)
print("res:","".join(res))

Submission status: Wrong Answer

Solution code:
s = input()

list_s = list(s)

for i in range(0, len(s), 2):
    print(list_s[i])

Submission status: Wrong Answer

Solution code:
s = input()
ans = ''

for i in range(len(s)):
    if i % 2 == 0:
        ans += s[i]

Submission status: Wrong Answer

Solution code:
s=input()
print(s[1::2])

Submission status: Wrong Answer

Solution code:
s=input()
s[0::2]

Submission status: Wrong Answer

Solution code:
s = input()
a= ""
for i in range(len(s)):
    if i % 2 == 1:
        a += s[i]
print(a)

Submission status: Wrong Answer

Solution code:
s = input()
a= []
for i in range(len(s)):
    if i % 2 == 1:
        a += s[i]
print(a)

Submission status: Wrong Answer

Solution code:
s = input()
list= []
for i in range(len(s)):
    if i % 2 == 1:
        list += s[i]
print(list)

Submission status: Wrong Answer

Solution code:
S=list(map(str,input().split()))
print(''.join(S[::2]))

Submission status: Wrong Answer

Solution code:
S=list(map(str,input().split()))
print(S[::2])

Submission status: Wrong Answer

Solution code:
S=list(map(str,input().split()))
s=S[1::2]
print(s)

Submission status: Wrong Answer

Solution code:
S=list(map(str,input().split()))
s=S[0::2]
print(s)

Submission status: Wrong Answer

Solution code:
S=list(map(str,input().split()))
s=S[::2]
print(s)

Submission status: Wrong Answer

Solution code:
S = input()
n = len(S)//2
#与えられた文字列をリスト化し分割
lst = list(S)

array = []
for i in range(n):
    array.append(lst[2*i])

new_lst = "".join(array)
print(new_lst, end = "")

Submission status: Wrong Answer

Solution code:
s=input()
t=''
for i in range(len(s)//2):
    t+=s[2*i]
print(t)

Submission status: Wrong Answer

Solution code:
s=list(map(str, input()))
A=[]
i=0
l=len(s)
l=l/2
l=round(l)
for i in range(l):
    A.append(s[2*i])
A=''.join(A)
print(A)

Submission status: Wrong Answer

Solution code:
s=str(input())
ans=str('')
for i in range(0,len(s)):
  if s.index(s[i]) % 2 == 0:
    ans += s[i]
  else:
    continue
print(ans)

Submission status: Wrong Answer

Solution code:
s=str(input())
ans=str('')
for i in range(0,len(s)):
  if s.index(s[i]) % 2 == 0:
    ans += s[i]
print(ans)

Submission status: Wrong Answer

Solution code:
s=str(input())
ans=str('')
for i in range(len(s)):
  if s.index(s[i])%2==0:
    ans += s[i]
print(ans)

Submission status: Wrong Answer

Solution code:
s=str(input())
ans=str('')
for i in range(len(s)):
  if s.index(s[i])%2!=0:
    ans += s[i-1]
print(ans)

Submission status: Wrong Answer

Solution code:
s=str(input())

print(i for i in range(len(s)) if s.index(s[i]) % 2 != 0)

Submission status: Wrong Answer

Solution code:
s=str(input())

print(i for i in range(len(s)) if index(s[i]) % 2 != 0)

Submission status: Wrong Answer

Solution code:
s = input()

print(s[1::2])

Submission status: Wrong Answer

Solution code:
s=input()
for num,moji in enumerate(s):
    if((num+1)%2!=0):
        print(moji)

Submission status: Wrong Answer

Solution code:
s=input()
for num,moji in enumerate(s):
    if((num+1)%2==0):
        print(moji)

Submission status: Wrong Answer

Solution code:
s = input()
ans = ""
for i in range(len(s)):
  if i%2 == 1:
    ans += s[i]
print(ans)

Submission status: Wrong Answer

Solution code:
# 入力
s = input()

even_s = ''
for i in s:
    if s.index(i) % 2 == 0:
        even_s = even_s + i

print(even_s)

Submission status: Wrong Answer

Solution code:
def resolve():
    s = input()
    print("".join(s[1::2]))


if __name__ == "__main__":
    resolve()

Submission status: Wrong Answer

Solution code:
def resolve():
    s = input()
    print(s[1::2])


if __name__ == "__main__":
    resolve()

Submission status: Wrong Answer

Solution code:
s=input()
t=s[0]
for i in range(int(len(s)/2)-2):
  t+=s[2*(i+1)]
print(t)

Submission status: Wrong Answer

Solution code:
s=input()
t=s[0]
for i in range(int(len(s)/2)-1):
  t+=s[2*(i+1)]
print(t)

Submission status: Wrong Answer

Solution code:
s=input()
N=len(s)
ans=[]

for i in range(0, N, 2):
    ans+=s[i]
print(ans)

Submission status: Wrong Answer

Solution code:
s = input()
print(s[0:-1:2])

Submission status: Wrong Answer

Solution code:
s = input()
for i in range(len(s)-1):
  if i%2 == 0:
    print(s[i], end = "")

Submission status: Wrong Answer

Solution code:
s=input()
s=s[1::2]
print(s)

Submission status: Wrong Answer

Solution code:
s = "abcde"
s = list(s)
s_cut = s[0::2]
ans = ""
for i in s_cut:
    ans += i
print(ans)

Submission status: Wrong Answer

Solution code:
n=input()
print(len(n))
word=""
for i in range(len(n)):
    if i%2==0:
        word+=n[i]
print(word)

Submission status: Wrong Answer

Solution code:
s = list(input())
ans = [s[0]]
for i in range(len(s)):
  if i % 2 == 0:
    ans.append(s[i])
print(''.join(ans))

Submission status: Wrong Answer

Solution code:
s_list = [s for s in input()]
s_out = ''
for i in range(len(s_list)):
  if i % 2 != 0:
    s_out += s_list[i]
    
print(s_out)

Submission status: Wrong Answer

Solution code:
s_list = list(input().split())
s_out = ''
for i in range(len(s_list)):
  if i % 2 != 0:
    s_out += s_list[i]
    
print(s_out)

Submission status: Wrong Answer

Solution code:
s = input()

for i in range(len(s)):
  if i%2 == 1:
    print(s[i],end="")
print("\n")

Submission status: Wrong Answer

Solution code:
s = list(input())
N = len(s)
ans =[]
for i in range(N):
  if i%2 ==0:
      ans.append(s[i])
print(ans)

Submission status: Wrong Answer

Solution code:
s = input()
N = len(s)
ans =[]
for i in range(N):
  if i%2 ==0:
      ans.append(s[i])
print(ans)

Submission status: Wrong Answer

Solution code:
s = input()
N = len(s)
ans =[]
print(N)
for i in range(N):
  if i%2 ==0:
      ans.append(s[i])
print(ans)

Submission status: Wrong Answer

Solution code:
s = input()
N = len(s)
ans =list(range(N))
print(N)
for i in range(N):
  if i%2 ==0:
      ans = s[i]
print(s)

Submission status: Wrong Answer

Solution code:

Inp = input("input:")
ans = str()

for i in range(1 , len(Inp)+1):
	if i%2 == 1 :
		print(Inp[i-1], end="")

Submission status: Wrong Answer

Solution code:
S = input()
s = []
for i in range(len(S)):
    if (i + 1) % 2 == 1:
        s.append(S[i])
        print(i)

print(('').join(s))

Submission status: Wrong Answer

Solution code:
s = input()
t = ""
for i in range(len(s)//2):
  t += s[2*i]
print(t)

Submission status: Wrong Answer

Solution code:
s = input()

list_ = []
for i,j in enumerate(s):
    if i%2 != 0:
        list_.append(j)

print(''.join(list_))

Submission status: Wrong Answer

Solution code:
string = input()
i = 1
ans = ""
for s in string:
  if i % 2 != 0:
    ans += s
 
print(ans)

Submission status: Wrong Answer

Solution code:
s = input()
ans = ""
for i in range(len(s)):
    if (i+1)%2 != 0:
        ans = "".join(s[i])

print(ans)

Submission status: Wrong Answer

Solution code:
s = input()
ans = ""
for i in range(len(s)):
    if i%2 != 0:
        ans = "".join(s[i])

print(ans)

Submission status: Wrong Answer

Solution code:
s = input()
ans = ''
for c in s:
  if (len(s) % 2 == 1):
    ans += c

print(ans)

Submission status: Wrong Answer

Solution code:
s = list(input())
result = ""
print(s)
for i in range(len(s)):
    if (i+1) % 2 != 0:
        result += s[i]
print(result)

Submission status: Wrong Answer

Solution code:
s = list(input())
result = ""
for i in range(len(s)):
    if i % 2 != 0:
        result += s[i]
print(result)

Submission status: Wrong Answer

Solution code:
s = list(input().split())
result = ""
for i in range(len(s)):
    if i % 2 != 0:
        result += s[i]
print(s)

Submission status: Wrong Answer

Solution code:
s = input()
for i in range(len(s)):
    if i % 2 == 0:
        print(s[i])

Submission status: Wrong Answer

Solution code:
s = str(input())
odd =[]

n = int(len(s)/2)

for i in range(n):
    odd.append(s[2*i])

print(''.join(odd))

Submission status: Wrong Answer

Solution code:
input()[::2]

Submission status: Wrong Answer

Solution code:
s = input()

for x in range(0,len(s),2):
  print(s[x])

Submission status: Wrong Answer

Solution code:
print(input()[1::2])

Submission status: Wrong Answer

Solution code:
s=list(input())
s=s[1::2]
print("".join(s))

Submission status: Wrong Answer

Solution code:
ognl = input()
print("".join([c for c in ognl if ognl.index(c) % 2 == 0]))

Submission status: Wrong Answer

Solution code:
s = input()
print(*s[::2])

Submission status: Wrong Answer

Solution code:
s = input()
x = 1
ans = ''
for i in s:
  if x % 2:
    ans += i
print(ans)

Submission status: Wrong Answer

Solution code:
s = input()
s = [h for i, h in enumerate(s) if i % 2 != 0]
print("".join(s))

Submission status: Wrong Answer

Solution code:
s = list(input())
print(s[::2])

Submission status: Wrong Answer

Solution code:
list = input();

for i in range(0,len(list),2):
	print(list[i]);

Submission status: Wrong Answer

Solution code:
s = input()
for i in range(0, len(s), 2):
 print(s[i])

Submission status: Wrong Answer

Solution code:
a = input()
counter = 0
b =""

for x in a:
    if counter %2 == 0:
        pass
    else:
        b +=x
    counter +=1

print(b)

Submission status: Wrong Answer

Solution code:
# input
s = input()

ans = s[0]

for i in range(len(s) // 2):
    ans = ans + s[2 * i]

print(ans)

Submission status: Wrong Answer

Solution code:
s = input().split()
ans = ''
for i in range(len(s)):
    if (i+1)%2==0:
        continue
    ans += s[i]
print(ans)

Submission status: Wrong Answer

Solution code:
s = input()
ind = 0
result = ''
while ind <  len(s)-1:
  result = result + s[ind]
  ind += 2
print(result)

Submission status: Wrong Answer

Solution code:
s = input()
res = s[0]

for i in range(len(s)):
    if i>0:
        if i%2==0:
            res += s[i]

Submission status: Wrong Answer

Solution code:
s = input()
s_add = ""
for i in range(len(s)):
  if i % 2 == 0:
    s_add = s[i]
print(s)

Submission status: Wrong Answer

Solution code:
s = input()
s_odd = ""
for i in range(len(s)):
  if i % 2 == 1:
    s_odd = s_odd +s[i]
print(s)

Submission status: Wrong Answer

Solution code:
s = input()
s_add = ""
for i in range(len(s)):
  if i % 2 == 1:
    s_add = s[i]
print(s)

Submission status: Wrong Answer

Solution code:
x = ""
s = input()
for i in range(len(s)):
 if i % 2 == 1:
  x = x + s[i]
print(x)

Submission status: Wrong Answer

Solution code:
alphabet="abcdefghijklmnopqrstuvwxyz"
st=input()
s=""
for i in range(0,len(st)):
    if alphabet.index(st[i]) % 2 == 0:
        s+=str(st[i])
    else:
        pass
print(s)

Submission status: Wrong Answer

Solution code:
string = input()
answer = [character for i, character in enumerate(string) if i%2 == 1]
for character in answer:
    print(character, end="", sep="")

Submission status: Wrong Answer

Solution code:
S=list(input())
print(S[0::2])

Submission status: Wrong Answer

Solution code:
s = input()
for i in range(len(s)):
    if (i % 2) != 0:
        print(s[i], end="")
print()

Submission status: Wrong Answer

Solution code:
s=raw_input()
slen=len(s)
count=0
os=""
for i in range(int(slen/2)):
    os=os+s[count]
    count+=2
print(os)

Submission status: Wrong Answer

Solution code:
s = input()
l = len(s)
for i in range(l):
  if i % 2 == 1:
    print(s[i], end='')

Submission status: Wrong Answer

Solution code:
i = input()
t = 0
for j in range(len(i)//2):
   print(i[t], end = "")
   t += 2

Submission status: Wrong Answer

Solution code:
s=[input().split()]
for i in s[::2]:
  print(s[::2])

Submission status: Wrong Answer

Solution code:
def getStrangeString(s):
    res = ""
    for i in range(len(s)):
        if i%2 != 0:
            res += s[i]
print(getStrangeString(input()))

Submission status: Wrong Answer

Solution code:
s = input()
print(''.join([c for i, c in enumerate(s) if i % 2 == 1]))

Submission status: Time Limit Exceeded

Solution code:
S = list(input())
ls = len(S)
odd_list = []
result = ""

while ls > 0:
    ls -= 1
    if ls % 2 == 0:
        odd_list.append(ls)
        odd_list = sorted(odd_list)

for i in odd_list:
    result = result + S[i]
print(result)

Submission status: Time Limit Exceeded

Solution code:
s=input()
s1=""

for i in range(len(s)):
    if (i%2==0):
        s1="".join((s1,s[i]))
print(s1)

Submission status: Accepted

Solution code:
s = input()
print(s[::2])

Submission status: Accepted

Solution code:
s = str(input())
ans = ''

for i in range(len(s)):
  if i % 2 == 0:
    ans = ans + s[i]

print(ans)

Submission status: Accepted

Solution code:
S = str(input())

print(S[::2])

Submission status: Accepted

Solution code:
S = input()
ans = ''
for i, s in enumerate(S):
    if i % 2 == 0:
        ans += s
print(ans)

Submission status: Accepted

Solution code:
s = input()
even = []

def listtostring(some):
    str1 = ""

    for ele in some:
        str1 += ele

    print(str1)

for i in range(len(s)):
    moji = s[i]
    if i % 2 == 0:
        even.append(moji)

listtostring(even)

Submission status: Accepted

Solution code:
s = input()
print(s[0::2])

Submission status: Accepted

Solution code:
a = list(input())
a_135 = a[0::2]
mojiretu = ''.join(a_135)
print(mojiretu)

Submission status: Accepted

Solution code:
s=input()

print(s[::2])

Submission status: Accepted

Solution code:
s = str(input())

print(s[::2])

Submission status: Accepted

Solution code:
s = str(input())



print(s[::2])

Submission status: Accepted

Solution code:
s = input()

ans = [i for index, i in enumerate(s, start = 1) if index % 2 != 0]
print("".join(ans))

Submission status: Accepted

Solution code:
s = input()

N = len(s)
result = []

for i in range(0, N):
    if i == 0 or i % 2 == 0:
        result.append(s[i])

s = ''
N = len(result)

for i in range(0, N):
    s += result[i]

print(s)

Submission status: Accepted

Solution code:
s = str(input())

# 前から数えて奇数文字目だけ抜き出して作った文字列を出力せよ。

print(s[::2])

Submission status: Accepted

Solution code:
s = input()

N = len(s)
result = []

for i in range(0, N):
    if i == 0 or i % 2 == 0:
        result.append(s[i])

s = ''
N = len(result)

for i in range(0, N):
    s += result[i]

print(s)

Submission status: Accepted

Solution code:
s = input()
x = ''
for i in range(0, len(s)):
    if i % 2 == 0:
        x = x + s[i]
print(x)

Submission status: Accepted

Solution code:
s = str(input())
def answer(s: str) -> str:
    ans = ''
    for i in range(len(s)):
        if i % 2 == 0:
            ans += s[i]
    return ans


print(answer(s))

Submission status: Accepted

Solution code:
s = str(input())
S = s[0::2]
print(S)

Submission status: Accepted

Solution code:
S = input()
 
print(S[0:len(S):2])

Submission status: Accepted

Solution code:
print(input()[::2])

Submission status: Accepted

Solution code:
print(str(input())[::2])

Submission status: Accepted

Solution code:
s = input()

print(s[::2])

Submission status: Accepted

Solution code:
S = input()

print(S[0:len(S):2])

Submission status: Accepted

Solution code:
s = input('')
# 奇数文字目だけ抜き出す
print(s[::2])

Submission status: Accepted

Solution code:
#from statistics import median
#import collections
#aa = collections.Counter(a) # list to list || .most_common(2)で最大の2個とりだせるお a[0][0]
from math import gcd
from itertools import combinations,permutations,accumulate, product # (string,3) 3回
#from collections import deque
from collections import deque,defaultdict,Counter
import decimal
import re
import math
import bisect
import heapq
#
#
#
# pythonで無理なときは、pypyでやると正解するかも！！
#
#
# my_round_int = lambda x:np.round((x*2 + 1)//2)
# 四捨五入g
#
# インデックス系
# int min_y = max(0, i - 2), max_y = min(h - 1, i + 2);
# int min_x = max(0, j - 2), max_x = min(w - 1, j + 2);
#
#
import sys
sys.setrecursionlimit(10000000)
mod = 10**9 + 7
#mod = 9982443453
#mod = 998244353
INF = float('inf')
from sys import stdin
readline = stdin.readline
def readInts():
  return list(map(int,readline().split()))
def readTuples():
    return tuple(map(int,readline().split()))
def I():
    return int(readline())
s = input()
print(s[::2])

Submission status: Accepted

Solution code:

S = str(input())

print(S[::2])

Submission status: Accepted

Solution code:
# coding: utf-8
ans = ""
s = input()
for i in range(len(s)):
    if i%2==0:
        ans+=s[i]
print(ans)

Submission status: Accepted

Solution code:
s = input()
print("".join([s[i] for i in range(len(s)) if i%2==0]))

Submission status: Accepted

Solution code:
s = input()
for i in range(0, len(s), 2):
    print(s[i], end='')
print()

Submission status: Accepted

Solution code:
s = input()
ans = ""
for i,x in enumerate(s):
  if i%2 == 0:
    ans += x
print(ans)

Submission status: Accepted

Solution code:
s = input()
ans = ''
for i in range(0, len(s), 2):
    ans += s[i]

print(ans)

Submission status: Accepted

Solution code:
s = str(input())
n = len(s)
ans = []
for i in range(n):
    if i%2 == 0:
        ans.append(s[i])
print(''.join(ans))

Submission status: Accepted

Solution code:
s = input()
if len(s)%2 == 0:
  f = len(s)//2
else:
  f = len(s)//2+1
for i in range(f):
  print(s[2*i],end="")

Submission status: Accepted

Solution code:
s = list(input())
M = []

for i in range(len(s)):
    if i % 2 == 0:
        M.append(s[i])
        
ANS = ''.join(M)
print(ANS)

Submission status: Accepted

Solution code:
s = str(input())
print(s[::2])

Submission status: Accepted

Solution code:
S = str(input())
print(S[0::2])

Submission status: Accepted

Solution code:
s = input()
ans = ''
for i in range(len(s)):
    if i % 2 == 0:
        ans += s[i]
        
print(ans)

Submission status: Accepted

Solution code:
s = list(input())
print(''.join(s[0::2]))

Submission status: Accepted

Solution code:


N = list(input())
ans = []
for i in range(len(N)):
    if i % 2 == 0:
        ans.append(N[i])
print("".join(ans))

Submission status: Accepted

Solution code:
a=input()
for i in range(0,len(a),2):
  print(a[i],end="")

Submission status: Accepted

Solution code:
S = input()
S1 = '0' + S
print(S1[1::2])

Submission status: Accepted

Solution code:
s = list(input())
l = int(len(s))

m = []
for i in range(0, l, 2): 
    m.append(s[i])
print(''.join(m))

Submission status: Accepted

Solution code:
class Odd:
    def __init__(self,s:str):
        self.s=s

    def odd_str(self):
        m=[]
        l=int(len(self.s))
        for i in range(0,l,2):
            m.append(self.s[i])
        print(''.join(m))

odd1=Odd(input())
odd1.odd_str()

Submission status: Accepted

Solution code:
s = input()
# リストｓを1つおきにスライス
print(s[0::2])

Submission status: Accepted

Solution code:
s = input()

n = (len(s) + 1) // 2

ans = ''

for i in range(n):
   ans += s[2 * i]

print(ans)

Submission status: Accepted

Solution code:
s = input()
a = ''
for i in range(0, len(s), 2):
    a = a + s[i]
print(a)

Submission status: Accepted

Solution code:
s = str(input())
k = 0
odd = ""

for k in range(len(s)):
    if k % 2 == 0:
        odd += s[k]

print(odd)

Submission status: Accepted

Solution code:
s = input()
print(s[0::2])
# s[始まりの位置: 終わりの位置: スライスの増分]

Submission status: Accepted

Solution code:
s = input()

# 文字列[::2]は、先頭から奇数文字目のみ取得できる。
print(s[::2])

Submission status: Accepted

Solution code:
'''
問題：
    英小文字からなる文字列 s が与えられます。
    前から数えて奇数文字目だけ抜き出して作った文字列を出力してください。
    ただし、文字列の先頭の文字を1文字目とします。
'''

'''
制約：
    s の各文字は英小文字
    1 ≦ |s| ≦ 100000
'''

# 標準入力から s を取得する
s = str(input())

i = 1
result = ""
for i in range(len(s) + 1):
    if i % 2 == 0:
        pass
    else:
        result += s[i - 1]

print(result)

Submission status: Accepted

Solution code:
# ac_072_b
# 英小文字からなる文字列S
# 前から数えて奇数文字列目だけ抜き出して作った文字列を出力。
# 文字列の先頭の文字を１文字目とする。

s = input()

# [0::2]０番目はじめて2つ刻みの意味[0,1,2,3,4,5]の場合[0,2,4,]=奇数番目になる。
# [1::2]１番目めからはじめて２つ刻み[0,1,2,3,4,5]の場合[1,3,5]=偶数番目になる。
# 奇数番目のみ抽出したい場合。
print(s[0::2])

Submission status: Accepted

Solution code:
S = input()
count = 1
str_odd = ''

for i in S:
    if count % 2 == 1:
        str_odd += i
    count += 1

print(str_odd)

Submission status: Accepted

Solution code:
s=input()
odd_num=list()
 
for i in range(len(s)):
    if i % 2 == 0:
        odd_num.append(s[i])
 
answer="".join(odd_num)
 
print(answer)

Submission status: Accepted

Solution code:
s = input()
i = 0
answer = str()
for j in s:
    if i % 2 == 0:
        answer += j
    i += 1
print(answer)

Submission status: Accepted

Solution code:
s=input()
# 文字列[0::2]で先頭から奇数番目、[1::2]で偶数番目の文字を取得できるらしい
print(s[0::2])

Submission status: Accepted

Solution code:
s = input() # 入力文字列をsに格納
letters = '' # 出力用変数を用意

for i, letter in enumerate(s): # sを1文字ずつ、i（何文字目か）とletter（1文字）に入れる
    if i % 2 == 0: # 何文字目か　の奇数と偶数を判定；2で割って余りがあれば奇数だが、iは0から始まるので偶数のときに
        letters += letter # lettersに入れていく

print(letters)

Submission status: Accepted

Solution code:
print(input()[::2])
#[::x]...文字列のxの倍数の文字を排除

Submission status: Accepted

Solution code:
s = input()
# 文字列[::2]で先頭から見て奇数個目の文字のみ取得できる
print(s[::2])

Submission status: Accepted

Solution code:
# 英小文字からなる文字列 sが与えられます
# 前から数えて奇数文字目だけ抜き出して作った文字列を出力してください。
# ただし、文字列の先頭の文字を1文字目とします。

# s（文字列）：標準入力
s = str(input())
print(s[::2])

Submission status: Accepted

Solution code:
s = input()
i = 0
answer = str()
for j in s:
    if i % 2 == 0:
        answer += j
    i += 1
print(answer)

Submission status: Accepted

Solution code:
#072b
#1.値を受け取る
s = str(input())

#2.結果を出力する
for i in range(len(s)):
    if i % 2 == 0:
        print(s[i], end = '')

Submission status: Accepted

Solution code:
s = str(input())
 
for i in range(len(s)):
    if i % 2 == 0:
        print(s[i], end = '')