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