Fill in replaceFirst so that it replaces the element at index 0 with the new value, leaving the rest untouched.
replaceFirst
The program prints [new, keep]. Use set, not add.
[new, keep]
set
add