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