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