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