print("".join(s[0] for s in input().split("-")))