Solved 1.13
Merge pull request #39 from iriya-ufo/ex1.13

LGTM:)