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