Solution to 177
Solution to 178