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