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