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