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