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