This is going to be written off the top of my head. Expect syntax errors!
const int numLeds = 12; // there are 12 LEDs
cons int numOn = 4; // we want 4 of them to be on at any one time
// if the LEDS are not on pins 1 thru 12, change them here
int LEDS[numLeds] = {1, 2, 3, 4, 5, 6, 7, 8, 9...