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