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