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