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