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