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