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