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