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