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