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