#iNTRODUCING DATA FROM PROMPT
friendNames = []
while True:
print('Enter name of a friend ' + str(len(friendNames) + 1) +
' (Or enter F when finished.):')
name = input()
if name == 'F':
break
friendNames = friendNames + [name] # list concatenation
print('The friends names are:')
for name in friendNames:
print(' ' + name)