name = input("Please enter a name: ") #Short the name (V.S. Mathur) short = name.split() n = [x[0] for x in short[:-1]] print(*n, short[-1])