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