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