Solutions for hh test tasks