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