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