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