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