in reply to Rearranging Numbers

I might be wrong but this smells like homework (HOMEWORK abounds)