Two leds blink with one button

Your description is very confusing. Is it like this?:

repeat
{
  blink and wait for button press
  red and wait for button press
  green and wait for button press
}

?