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