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