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