vjudge11's submission of Bear and AB | CodeChef