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