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