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