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