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