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