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