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