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