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