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