3AI(Linear and Dynamic Programming)