def main():
    s = aread("str")
    print(s[0][0] + s[1][0] + s[2][0])

def iread():
    return int(input())


def sread():
    return input()


def aread(t="int"):
    if t == "int":
        ret = [int(i) for i in input().split()]
    elif t == "str":
        ret = list(input().split( ))
    return ret


def scan():
    return list(map(int, input().split()))


if __name__ == '__main__':
    main()
