#!/usr/bin/env python3
# https://abc072.contest.atcoder.jp/tasks/abc072_b
print(input()[::2])

2856f979bd1dda0fcfc7e708f1a120cef10ea1cd
<mask token>

print(input()[::2])

#!/usr/bin/env python3
# https://abc072.contest.atcoder.jp/tasks/abc072_b
print(input()[::2])
