In the middle of solving #16. Time for bed