Christina, Kandace, and Devan together sold 43 tickets for the school dance. Christina sold 12 tickets and Kandace sold 17 tickets. How many tickets did Devan sell?

A) 14
B)26
C) 29
D)31