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