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