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