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