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