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