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