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