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