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