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