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