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