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