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