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