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