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