Add solution for #82
Add solution for #19