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