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