Realized I misread the problem