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