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