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