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