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