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