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