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

### Instruction:
What is the class that that won 2 stages and has a position of DNF?

### Inputs:
table_name: table, columns: ['Year', 'Class', 'Vehicle', 'Position', 'Stages won']

### Response:
SELECT Class FROM table WHERE Stages won = 2 AND Position = dnf