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