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