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