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