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