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