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