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