Instruct: What is First elected that has republican Party and a Result of retired democratic gain?
Output: SELECT First elected FROM table WHERE Party = republican AND Result = retired democratic gain