def main():
    while True:
        line = input()
        words=line.split('-')
        autori = ""
        for w in words:
            autori += w[0]
        print(autori)

if __name__ == "__main__":
    try:
        main()
    except:
        pass

507191ed40211841617f735b670cd78ea6840813
<mask token>

def main():
    while True:
        line = input()
        words = line.split('-')
        autori = ''
        for w in words:
            autori += w[0]
        print(autori)


<mask token>

def main():
    while True:
        line = input()
        words = line.split('-')
        autori = ''
        for w in words:
            autori += w[0]
        print(autori)


if __name__ == '__main__':
    try:
        main()
    except:
        pass

def main():
    while True:
        line = input()
        words=line.split('-')
        autori = ""
        for w in words:
            autori += w[0]
        print(autori)

if __name__ == "__main__":
    try:
        main()
    except:
        pass
