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