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