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