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