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

### Instruction:
What role did John Wayne play in The Lawless Frontier, with Sheila Terry as the leading lady?

### Inputs:
table_name: table, columns: ['Title', 'Studio', 'Role', 'Leading lady', 'Director']

### Response:
SELECT Role FROM table WHERE Leading lady = sheila terry AND Title = the lawless frontier