Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
How many votes did Lee Teng-Hui receive when he was elected?

### Inputs:
table_name: table, columns: ['Election', 'Candidate', 'Running mate', 'Total votes', 'Share of votes', 'Outcome']

### Response:
SELECT MAX Total votes FROM table WHERE Outcome = elected AND Candidate = lee teng-hui