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