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