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