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