Needs a tweak
Read the problem wrong.