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