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