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