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