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