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