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