Solution to 204. Well, there's an off-by-2 error though.