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