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