l=[i for i in input().split()]
n=[]
for i in range(len(l)):
    n.append(l[i][0])
print(n)    
    

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: