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