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