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