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