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