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