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