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