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