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