ДЗ 16, 17

Аналогично, https://github.com/brainspec/enumerize#usage