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