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