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