Accepted Be careful of the for loop