list1 = ['Allen','Tom']
for i in list1:
print(i+', you have passed our interview and will soon become a member of our company.')
list1.remove('Tom')
list1.append('Andy')
print(i+', welcome to join us!')