Instruct: What year was republican, re-elected incumbent John all barham elected?
Output: SELECT Elected FROM table WHERE Party = republican AND Status = re-elected AND Incumbent = john all barham