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