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