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