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