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