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