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