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