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