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