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

### Instruction:
Who was the constitutional ticket when william karlin was the socialist ticket?

### Inputs:
table_name: table, columns: ['Office', 'Democratic ticket', 'Republican ticket', 'Socialist ticket', 'Constitutional ticket', 'Law Preservation ticket']

### Response:
SELECT Constitutional ticket FROM table WHERE Socialist ticket = william karlin