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