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