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