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