print_bags_3