A white oxide W dissolves in dilute hydrochloric acid and also in aqueous sodium hydroxide. Aqueous ammonia is added drop by drop to the solution of W in hydrochloric acid. A white precipitate forms, and it does not dissolve when excess aqueous ammonia is added. What is W?