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