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