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