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