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