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