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