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