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