Solution 13

Got the answer, just need to format.