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