How to select certain Shift Register outputs?

So if I wanted to turn on the first and last led the serial input would look like this: 10000001