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