Solve case8
Merge pull request #48 from romanromanenko/case8

Solve case8