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