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