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