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