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