Prathamesh B Patil's submission of Bear and AB | CodeChef