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