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