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