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