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

### Instruction:
what is the type when the position is ambassador and the location is rabat?

### Inputs:
table_name: table, columns: ['Mission', 'Location', 'Type', 'Head of Mission', 'Position', 'List']

### Response:
SELECT Type FROM table WHERE Position = ambassador AND Location = rabat