10337 - Flight Planner, knapsack-like easy dp