
# slower version:

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


# optimized version of the same code:

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



# slower version:

a,b,c=1,0,0

exec('a,b,c=b,c,(a+c)%(10**9+7);'*(int(eval(input()))-2))

print(c)

# optimized version of the same code:

a,b,c=1,0,0

exec('a,b,c=b,c,a+c;'*(int(eval(input()))-2))

print((c%(10**9+7)))
a, b, c = 1, 0, 0
exec("a,b,c=b,c,(a+c)%(10**9+7);" * (int(eval(input())) - 2))
print(c)

a, b, c = 1, 0, 0
exec("a,b,c=b,c,a+c;" * (int(eval(input())) - 2))
print((c % (10**9 + 7)))

-exec("a,b,c=b,c,(a+c)%(10**9+7);" * (int(eval(input())) - 2)) -print(c) +exec("a,b,c=b,c,a+c;" * (int(eval(input())) - 2)) +print((c % (10**9 + 7)))