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