Bear and Random Grid | CodeChef