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