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

### Instruction:
When Republican ticket was John P. Lomenzo who ran for the Socialist Workers ticket?

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

### Response:
SELECT Socialist Workers ticket FROM table WHERE Republican ticket = john p. lomenzo