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