There are 6 baskets on the table. Each basket has 0, 9, 12, 6, 17 and 2 apples. Emma chose third, John chose second, Matt chose fourth, Olivia chose sixth, Sean chose first, and Liam chose fifth. How many apples did Matt and Sean choose in total?