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