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