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