Print first letter of every word



Problem to print the each and every word first letter in the given String.



Example-1:


Input    : s = "my crazy coding"
Output   : mcc  


Example-2:


Input    : s = "Hello World"
Output   : HW   







Solution




s = "my crazy coding"

a = s.split()

d = ""

for x in a:

    d += x[0]

print(d)



Output



mcc