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