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