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