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

### Instruction:
What is the name on the Democratic ticket when the Workers ticket is james p. cannon?

### Inputs:
table_name: table, columns: ['Office', 'Democratic ticket', 'Republican ticket', 'Socialist ticket', 'Workers ticket']

### Response:
SELECT Democratic ticket FROM table WHERE Workers ticket = james p. cannon