result_dict = {'Allen': ['red', 'blue', 'yellow'],'Tom': ['green', 'white', 'blue'],'Andy': ['black', 'pink']}
for key, value in sorted(result_dict.items()):
    print(f"{key}'s favorite colors are:")
    for v in value:
        print(v,end="\n")