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