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