Bear and Cat Trap | CodeChef