Solve case3
Merge pull request #24 from romanromanenko/case3

Solve case3