Solution for Equi task