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