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