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