offer_list=['Allen','Tom']
for i in offer_list:
print("%s, you have passed our interview and will soon become a member of our company."%i)
for j in offer_list:
if j=='Tom':
print("Andy, welcome to join us!")
else:
print("%s, welcome to join us!"%(j))