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