a,b,c = (i for i in input().split())

print((a[0]+b[0]+c[0]))
def main():

    a = [i for i in input().split()]

    print(a[0][0], a[1][0], a[2][0], sep="")





if __name__ == '__main__':

    main()

a, b, c = (i for i in input().split())
print((a[0] + b[0] + c[0]))

def main():
    a = [i for i in input().split()]
    print(a[0][0], a[1][0], a[2][0], sep="")


if __name__ == "__main__":
    main()

-a, b, c = (i for i in input().split()) -print((a[0] + b[0] + c[0])) +def main(): +    a = [i for i in input().split()] +    print(a[0][0], a[1][0], a[2][0], sep="") + + +if __name__ == "__main__": +    main()