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