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