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