2 replace elements answer