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