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