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