всё описано в тз https://docs.google.com/document/d/19MvOI9V-LaJFPlepqTCkW_LARvIgaBswzagEBbIt2Dk/edit?usp=sharing