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