You probably need 8 resistors. I suggest 10 k each, but the actual value isn't likely to be important. The resistors should go between
GND and RP1
GND and RP2
GND and RP3
GND and RP4
Vcc and RP1
Vcc and RP2
Vcc and RP3
Vcc and RP4
There are 9 connections on the ribbon cable. The marking seem to be in the right order, but are spaced wrong so that the end connection, which I think is GND, is not beside the marking that says GND. However, imagine them stretched out and they show which connection is which.