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