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