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