maximum draws solution with python

join shbcf.ru