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