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