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