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