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