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