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