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