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