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