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