# Arup Guha
# 12/14/2024
# Solution to Kattis Problem Autori

# Get the line splitting on '-'
line = input().split("-")

# Now we just want the first letter in each token.
for i in range(len(line)):
    print(line[i][0], end="")
print()
