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