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