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