https://github.com/grafft/hse-tasks/blob/91faa929c99f233b882d6f0df0f136bd43f9ba5a/minor-module4/hw1/hw1_imitation.ipynb