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