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