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