Composition of the local interstellar medium as diagnosed with pickup ions