
# 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:

import sys

import numpy as np

n = int(eval(input()))

input = sys.stdin.readline

a = np.array(list(map(int, input().split())))

for i in a:

    if i % 2 == 0:

        if i % 3 != 0 and i % 5 != 0:

            print('DENIED')

            exit()

print('APPROVED')


# optimized version of the same code:

#import sys

#import numpy as np

n = int(eval(input()))

#input = sys.stdin.readline

#a = np.array(list(map(int, input().split())))

a = list(map(int, input().split()))

for i in a:

    if i % 2 == 0:

        if i % 3 != 0 and i % 5 != 0:

            print('DENIED')

            exit()

print('APPROVED')

import sys
import numpy as np

n = int(eval(input()))
input = sys.stdin.readline
a = np.array(list(map(int, input().split())))
for i in a:
    if i % 2 == 0:
        if i % 3 != 0 and i % 5 != 0:
            print("DENIED")
            exit()
print("APPROVED")

# import sys
# import numpy as np
n = int(eval(input()))
# input = sys.stdin.readline
# a = np.array(list(map(int, input().split())))
a = list(map(int, input().split()))
for i in a:
    if i % 2 == 0:
        if i % 3 != 0 and i % 5 != 0:
            print("DENIED")
            exit()
print("APPROVED")

-import sys -import numpy as np - +# import sys +# import numpy as np -input = sys.stdin.readline -a = np.array(list(map(int, input().split()))) +# input = sys.stdin.readline +# a = np.array(list(map(int, input().split()))) +a = list(map(int, input().split()))