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