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