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