Are they affecting your learning? Are they being a hinderance on you? You do whatever YOU have to to pass the class and dont worry about the other students in the class as well. Maybe they are going through something rough at home, maybe they are second guessing their choice in classes. You dont know their background story completely.