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