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