Input (grade 13): Initially introduced as an antagonist and Naruto's rival, the two eventually develop a bond as kindred spirits and become close friends as the series progresses.
Output (grade 6): Initially he was a bad guy and Naruto's rival. After a while the two develop a bond as kindred spirits and become close friends.