??????????????????????????????? ????????????????? ??????????????????????????????????????????????????????????????? ?????????? ??????????????????????????????????????????????????????????? ?????????????????????????????????????????? ? ????????????????????? ???????????? ??????? ?????????, ????? ?????, ?????????? ??? ?????To optimize fun whilst minimizing