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