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