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