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