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