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