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