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