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