My stupid solution of problem 16 :)