Average-Cost Method