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