Zhang Yide's submission of Bear and Shop Trip | CodeChef