331. Steps of Resolving Chain Items