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