The output of my solution has a wrong order: 2 I 1 Am 1 Sam How could i fix this. thank you